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

Restores an original state of a toolbar.

Returns
Nonzero if an original toolbar state was restored successfully; it is 0 if a toolbar is a user-defined toolbar.

This function restores an original state of a toolbar by loading it from the resource file. It uses LoadToolBar() to do that.

The RestoreOriginalstate member function is called from ResetAll(), when the user clicks "Reset All" button on the "Toolbars" page in the customization dialog.

Reimplemented in CBCGPMenuBar.