BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::ExportToMenuButton ( CBCGPToolbarMenuButton menuButton) const
virtual

Called by the framework to copy the toolbar button into a menu button.

Returns
Nonzero if successful; otherwise 0.

The default implementation copies the button's text label. If the text string is empty, it retrieves the button's text from the tooltip.

Override this member function if you need to take additional actions when a CBCGPToolbarButton - derived object is converted to a menu button.

Parameters
menuButtonA reference to a target menu button.