다음을 통해 공유


CMFCPropertyGridColorProperty::CMFCPropertyGridColorProperty

Constructs a CMFCPropertyGridColorProperty object.

CMFCPropertyGridColorProperty(
   const CString& strName,
   const COLORREF& color,
   CPalette* pPalette = NULL,
   LPCTSTR lpszDescr = NULL,
   DWORD_PTR dwData = 0
);

Parameters

  • [in] strName
    The name of the property.

  • [in] color
    The color value of the property.

  • [in] pPalette
    Pointer to a palette of colors. The default value is NULL.

  • [in] lpszDescr
    The property description. The default value is NULL.

  • [in] dwData
    Application-specific data, such as an integer or a pointer to other data that is associated with the property. The default value is 0.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridColorProperty Class

Hierarchy Chart

COLORREF

CPalette Class