共用方式為


CMFCPropertyGridColorProperty::SetColor

Sets a new color for the property.

void SetColor(
   COLORREF color 
);

Parameters

  • [in] color
    An RGB color value.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridColorProperty Class

Hierarchy Chart

COLORREF