Partager via


CMFCPropertyGridCtrl::UpdateColor

Sets the color value of the currently selected color property.

virtual void UpdateColor(
   COLORREF color
);

Parameters

  • [in] color
    An RGB color value.

Remarks

This method asserts in debug mode if the currently selected property of the property grid control is not a color property.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart

CMFCPropertyGridColorProperty Class

COLORREF