Expand Minimize
This topic has not yet been rated - Rate this topic

CMFCVisualManager::OnDrawRibbonApplicationButton

The framework calls this method when it draws the Main Button on the ribbon.

virtual void OnDrawRibbonApplicationButton(
   CDC* pDC,
   CMFCRibbonButton* pButton
);
[in] pDC

A pointer to a device context.

[in] pButton

A pointer to the Main Button on the ribbon.

Override this method in a derived visual manager if you want to customize the appearance of the Main Button.

Header: afxvisualmanager.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.