This documentation is archived and is not being maintained.


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