CMFCToolBar::OnSetDefaultButtonText
TOC
Collapse the table of content
Expand the table of content

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

Community Additions

ADD
Show:
© 2016 Microsoft