BCGControlBar Pro for MFC
virtual BOOL CBCGPMenuBar::RestoreOriginalstate ( )
virtual

Called by the framework when the user has selected "reset" for a menu bar in customization mode.

Returns
Nonzero if the menu bar has been reset successfully.

The RestoreOriginalState function is called by the framework when the user selects "Reset" option for a specific menu bar or toolbar in customization mode.

The function reverts the customized menu bar to its original state. The original state is taken from the default menu. Call this member function to restore the menu bar object's default state programmatically. Override this member function to receive notification when the user selects "Reset" option in customization mode.

Reimplemented from CBCGPToolBar.