CMFCPropertyGridCtrl::GetCustomColors

检索为属性网格控件元素当前定义的自定义颜色。

void GetCustomColors(
   COLORREF& clrBackground,
   COLORREF& clrText,
   COLORREF& clrGroupBackground,
   COLORREF& clrGroupText,
   COLORREF& clrDescriptionBackground,
   COLORREF& clrDescriptionText,
   COLORREF& clrLine 
);

参数

  • [out] clrBackground
    属性值的背景色。

  • [out] clrText
    属性名称的颜色和属性值的文本。

  • [out] clrGroupBackground
    属性组的背景色。

  • [out] clrGroupText
    文本的颜色在属性组中。

  • [out] clrDescriptionBackground
    声明区域的背景色。

  • [out] clrDescriptionText
    文本的颜色在声明区域。

  • [out] clrLine
    绘制在属性之间行的颜色。

备注

使用 CMFCPropertyGridCtrl::SetCustomColors 方法将自定义颜色。

要求

标头: afxpropertygridctrl.h

请参见

参考

CMFCPropertyGridCtrl选件类

层次结构图

CMFCPropertyGridCtrl::SetCustomColors

COLORREF