BCGControlBar Pro for MFC
virtual BOOL CBCGPMenuBar::OnSetDefaultButtonText ( CBCGPToolbarButton pButton)
virtual

Called by the framework when the user changes the menu item's caption (text) in customization mode.

Returns
Nonzero to stop further processing; otherwise 0.

The function is called by the framework when the user changes the menu item's text in customization mode. The default implementation just changes the old text to the new one.

Parameters
pButtonA pointer to CBCGPToolbarButton object that represents a menu item that has been edited by the user.

Reimplemented from CBCGPToolBar.