CGXProgressCtrl::OnGetCaptionColor

virtual COLORREF OnGetCaptionColor(BOOL bForeOrBack, const CGXStyle& style);?

bForeOrBack

TRUE for the caption bar; FALSE for the background.

style

Holds the style information of the cell.

Return Value

Returns the caption or background color.

Remarks

This method is called to determine the color of the caption bar. By default, the caption bar color is determined with CGXStyle::GetTextColor,and the background color is determined with CGXStyle::GetInterior.

See Also

 CGXStyle::GetTextColor  CGXStyle::GetInterior

CGXProgressCtrl

 Class Overview |  Class Members