CGXProgressCtrl::OnGetCaptionTextColor

virtual COLORREF OnGetCaptionTextColor((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 text color for the caption or background.

Remarks

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

For example, if the caption bar color is blue and background color is white, the caption text will be white and the background text will be blue.

See Also

 CGXStyle::GetTextColor  CGXStyle::GetInterior

CGXProgressCtrl

 Class Overview |  Class Members