Export (0) Print
Expand All
Expand Minimize

CMFCVisualManager::OnDrawRibbonCategoryTab

The framework calls this method when it draws the tab for a ribbon category.

virtual COLORREF OnDrawRibbonCategoryTab(
   CDC* pDC,
   CMFCRibbonTab* pTab,
   BOOL bIsActive
);

[in] pDC

A pointer to a device context.

[in] pTab

A pointer to an instance of the CMFCRibbonTab class. The framework draws this tab.

[in] bIsActive

A Boolean parameter that indicates whether the tab is active.

The color that is used for text on the ribbon category tab.

Override this method in a derived visual manager to customize the appearance of a ribbon category tab. For more information about ribbon categories, see CMFCRibbonCategory Class.

Header: afxvisualmanager.h

Show:
© 2014 Microsoft