Description

This is the entry point of the CommandBars API, exposed from McApplication as the CommandBars property.

Object Model

Remarks

This collection gathers all CommandBars regardless of their type.

Members

Methods
Add

Adds a new McCommandBar to the collection.

Customize

Displays the toolbar and menu customization dialog.

FindControl

Find an McCommandBarControl derived object using specific attributes.

Load

Loads the McCommandBars collection from a .mnu file.

Save

Save the current configuration into a .mnu file.


Properties
CountRead-only property

Returns the number of McCommandBars (menus, toolbars, shortcut panes) in the collection.

ItemRead-only property

Returns an McCommandBar identified by its name or position.

SourceRead-only property

Returns the IXMLDOMDocument object backing the menu configuration.