共用方式為


CMFCPropertyGridCtrl::GetTextColor

Retrieves the color that is used to draw the text of property items in the current property grid control.

COLORREF GetTextColor() const;

Return Value

An RGB color value.

Remarks

This method retrieves the color that the framework uses to draw the foreground of the current property grid control. The CMFCPropertyGridCtrl::GetBkColor method retrieves the background color.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart

COLORREF

CMFCPropertyGridCtrl::GetBkColor