共用方式為


CMFCPropertyGridFontProperty::GetColor

Retrieves the font color that the user selects from the font dialog box.

COLORREF GetColor() const;

Return Value

An RGB color value that represents the selected font color.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridFontProperty Class

Hierarchy Chart

COLORREF