Export (0) Print
Expand All
Expand Minimize

CMFCToolBar::OnSetDefaultButtonText

Restores the text of a toolbar button to its default state.

virtual BOOL OnSetDefaultButtonText(
   CMFCToolBarButton* pButton 
);

[in] pButton

Points to a button, whose text is being set.

TRUE ifthe text was successfully restored; otherwise FALSE.

Override this method to process notifications that the text of a toolbar button is being changed to its default.

The default implementation loads the text of a button from the application resources.

Header: afxtoolbar.h

Show:
© 2014 Microsoft