BCGControlBar Pro for MFC
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.

Parameters
clrBackgroundSpecifies the new background color of property values.
clrTextSpecifies the new text color of property values and names.
clrGroupBackgroundSpecifies the new background color of property group.
clrGroupTextSpecifies the new text color of property group.
clrDescriptionBackgroundSpecifies the new background color of description area.
clrDescriptionTextSpecifies the new text color of description area.
clrLineSpecifies the new color of lines which are drawn between properties.