Share via


CMFCVisualManagerOffice2003::OnDrawRibbonCategoryTab

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

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

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] pTab
    A pointer to a ribbon tab object. The framework draws this tab.

  • [in] bIsActive
    TRUE if the tab is active, or FALSE if not.

Return Value

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

Remarks

Override this method in a derived visual manager to customize the appearance of a ribbon category tab.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart