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.
The framework calls this method when the user changes the text of an item on the menu bar.
virtual BOOL OnSetDefaultButtonText(
CMFCToolBarButton* pButton
);
Parameters
- [in] pButton
A pointer to the CMFCToolBarButton object that the user wants to customize.
Return Value
TRUE if the framework applies the user changes to the menu bar; otherwise FALSE.
Remarks
The default implementation for this method changes the text of the button to the text that the user provides.
Requirements
Header: afxmenubar.h