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
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