CMFCVisualManager::OnDrawRibbonMainPanelButtonBorder

The framework calls this method when it draws the border of a CMFCRibbonButton that is positioned on the Main panel.

virtual void OnDrawRibbonMainPanelButtonBorder(
   CDC* pDC,
   CMFCRibbonButton* pButton
);

Parameters

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

  • [in] pButton
    A pointer to a CMFCRibbonButton located on the main panel of the ribbon. The framework draws the border for this button.

Remarks

Override this method in a derived visual manager to customize the appearance of the border for a CMFCRibbonButton on the Main panel.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class

CMFCRibbonButton Class