Share via


CMFCVisualManager::OnDrawRibbonTabsFrame

The framework calls this method when it draws the frame around a set of ribbon tabs.

virtual COLORREF OnDrawRibbonTabsFrame(
   CDC* pDC,
   CMFCRibbonBar* pWndRibbonBar,
   CRect rectTab
);

Parameters

  • pDC
    A pointer to a device context.

  • pWndRibbonBar
    A pointer to a CMFCRibbonBar object. The framework draws the frame for this ribbon bar.

  • rectTab
    A rectangle that specifies the boundaries of the ribbon tabs.

Return Value

A reserved value. By default, this method returns -1.

Remarks

Override this method in a derived visual manager to customize the frame around a set of tabs on the ribbon.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonBar Class