CMFCVisualManager::GetCaptionBarTextColor

The framework calls this method to retrieve the color of the text in the caption bar.

virtual COLORREF GetCaptionBarTextColor(
   CMFCCaptionBar* pBar 
);

Parameters

  • [in] pBar
    A pointer to a caption bar.

Return Value

A COLORREF parameter that indicates the color of the text in pBar.

Remarks

Override this method in your derived class to customize the text color for a caption bar. In your overridden method, return the desired color.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCCaptionBar Class