CBCGPColorProp::CBCGPColorProp | ( | const CString & | strName, |
const COLORREF & | color, | ||
CPalette * | pPalette = NULL , |
||
LPCTSTR | lpszDescr = NULL , |
||
DWORD_PTR | dwData = 0 , |
||
BOOL | bUseD2DColors = TRUE |
||
) |
Constructs and initializes a color property.
strName | Specifies property name. |
color | Specifies property value. |
pPalette | A pointer to a predefined palette that can be a source of color property values. |
lpszDescr | Property description. |
dwData | User defined data associated with the property. |
bUseD2DColors | Set to TRUE to display an extended D2D color set in the palette. |