Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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