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
A pointer to the device context of the ribbon category.[in] pContextCaption
A pointer to a caption bar. The visual manager draws this CMFCRibbonContextCaption Class.
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.
Requirements
Header: afxvisualmanageroffice2003.h