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 Main Button on the ribbon.
virtual void OnDrawRibbonApplicationButton(
CDC* pDC,
CMFCRibbonButton* pButton
);
Parameters
[in] pDC
A pointer to a device context.[in] pButton
A pointer to the Main Button on the ribbon.
Remarks
Override this method in a derived visual manager if you want to customize the appearance of the Main Button.
Requirements
Header: afxvisualmanager.h