Bagikan melalui


CMFCVisualManager::OnDrawRibbonButtonBorder

The framework calls this method when it draws the border of a button on the ribbon.

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

Parameters

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

  • [in] pButton
    A pointer to a CMFCRibbonButton object. The framework draws the border for this ribbon button.

Remarks

Override this method in a derived visual manager to customize the appearance of a CMFCRibbonButton.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCRibbonButton Class