Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

You can manage toolbars with the CExtAutoToolbarsCollection object and a set of CExtAutoToolbars toolbars. There is one and only one menu bar, which is a special case of the toolbar. Each toolbar, except user-defined toolbars, has two sets of buttons. The first collection contains original or initial buttons, which used for restoring customized or active buttons to their initial state. Active buttons present the second collection. Please note that if a toolbar is user-defined (i.e., created with the Customize dialog), the Reset operation is not available and the ActiveButtons property should not be used because the user-defined toolbar does not keep the collection of initial buttons.