Compartilhar via


CMFCMenuBar::RestoreOriginalstate

Called by the framework when the user selects Reset from the Customize dialog box.

virtual BOOL RestoreOriginalstate();

Return Value

Nonzero if the method is successful; otherwise 0.

Remarks

This method is called when the user selects Reset from the customization menu. You can also manually call this method to programmatically reset the state of the menu bar. This method loads the original state from the resource file.

Override this method if you want to do any processing when the user selects the Reset option.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart