Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.