void CBCGPPropList::SetCustomColors | ( | COLORREF | clrBackground, |
COLORREF | clrText, | ||
COLORREF | clrGroupBackground, | ||
COLORREF | clrGroupText, | ||
COLORREF | clrDescriptionBackground, | ||
COLORREF | clrDescriptionText, | ||
COLORREF | clrLine | ||
) |
Allows to customize the property list appearance by setting custom colors for all property list elements.
Use this function in order to customize the property list appearance by setting custom colors for all property list elements.
Use (COLORREF)-1 value to keep the default color for a particular element.
If you need to customize appearance of a specific property, you have to derive a class from CBCGPProp and override CBCGPProp::OnDrawName, CBCGPProp::OnDrawValue, CBCGPProp::OnDrawExpandBox, CBCGPProp::OnDrawButton.
clrBackground | Specifies the new background color of property values. |
clrText | Specifies the new text color of property values and names. |
clrGroupBackground | Specifies the new background color of property group. |
clrGroupText | Specifies the new text color of property group. |
clrDescriptionBackground | Specifies the new background color of description area. |
clrDescriptionText | Specifies the new text color of description area. |
clrLine | Specifies the new color of lines which are drawn between properties. |