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

Called when a toolbar button's default text is being restored.

The handler returns nonzero if it has processed this notification; it is 0 if the text wasn't changed.

Override this member function to receive notifications that a toolbar button's text is being changed to its default. Usually, the OnSetDefaultButtonText function is called when a toolbar is about to reset.

The default implementation tries to load a button's text from the application resources.

pButtonPoints to a button, whose text is being set.

Reimplemented in CBCGPMenuBar.