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.
Restores the text of a toolbar button to its default state.
virtual BOOL OnSetDefaultButtonText(
CMFCToolBarButton* pButton
);
Parameters
- [in] pButton
Points to a button, whose text is being set.
Return Value
TRUE ifthe text was successfully restored; otherwise FALSE.
Remarks
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.
Requirements
Header: afxtoolbar.h