Partager via


CMFCToolBar::RestoreOriginalstate

Restores the original state of a toolbar.

virtual BOOL RestoreOriginalstate();

Return Value

Nonzero if the method succeeds, or 0 if the method fails or the toolbar is user-defined.

Remarks

This method loads the toolbar from the resource file by using the CMFCToolBar::LoadToolBar method.

The framework calls this method when the user clicks the Reset All button on the Toolbars page of a customization dialog box.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CMFCToolBar::LoadToolBar