Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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