Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The framework calls this method when it draws the caption bar for a ribbon category.
virtual COLORREF OnDrawRibbonCategoryCaption(
CDC* pDC,
CMFCRibbonContextCaption* pContextCaption
);
Parameters
[in] pDC
The drawing context.[in] pContextCaption
A pointer to a caption bar. The visual manager draws this CMFCRibbonContextCaption Class object.
Return Value
A COLORREF parameter that indicates the color of the text on the caption bar.
Remarks
Override this method in a derived class to customize the appearance of the caption bar for a ribbon category. For more information about the caption bar, see CMFCRibbonContextCaption Class.
Requirements
Header: afxvisualmanager.h