_CommandBars Members

Include Protected Members
Include Inherited Members

A collection of CommandBar objects that represent the command bars in the container application.

The _CommandBars type exposes the following members.

Properties

  Name Description
Public property ActionControl Returns the CommandBarControl object whose OnAction property is set to the running procedure.
Public property ActiveMenuBar Returns a CommandBar object that represents the active menu bar in the container application.
Public property AdaptiveMenus Checks or unchecks the check box control for the option to show menus in Microsoft Office as full or personalized.
Public property Application Returns an Application object that represents the container application for the object.
Public property Application (Inherited from _IMsoDispObj.)
Public property Count Returns or sets an Integer value indicating the number of items in the specified collection.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Creator (Inherited from _IMsoDispObj.)
Public property DisableAskAQuestionDropdown Determines if the Answer Wizard dropdown menu is enabled.
Public property DisableCustomize Determines if toolbar customization is disabled.
Public property DisplayFonts Determines if the font names in the Font box are displayed in their actual fonts.
Public property DisplayKeysInTooltips Determines if shortcut keys are displayed in the ToolTips for each command bar control.
Public property DisplayTooltips Determines if ScreenTips are displayed whenever the user positions the pointer over command bar controls.
Public property IdsString Reserved for internal use.
Public property Item Returns a CommandBar object from the CommandBars collection.
Public property LargeButtons Determines if the toolbar buttons displayed are larger than normal size.
Public property MenuAnimationStyle Returns or sets the way a command bar is animated.
Public property Parent Returns the parent object for the specified object.
Public property TmcGetName Reserved for internal use.

Top

Methods

  Name Description
Public method Add Creates a new command bar and adds it to the collection of command bars.
Public method AddEx Reserved for internal use.
Public method CommitRenderingTransaction Commits the rendering transaction. Returns Nothing.
Public method ExecuteMso Executes the control identified by the idMso parameter.
Public method FindControl Returns a CommandBarControl object that fits the specified criteria.
Public method FindControls Returns the CommandBarControls collection that fits the specified criteria.
Public method GetEnabledMso Returns True if the control identified by the idMso parameter is enabled.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method GetImageMso Returns an IPictureDisp object of the control image identified by the idMso parameter scaled to the dimensions specified by width and height.
Public method GetLabelMso Returns the label of the control identified by the idMso parameter as a String.
Public method GetPressedMso Returns a value indicating whether the toggleButton control identified by the idMso parameter is pressed.
Public method GetScreentipMso Returns the screentip of the control identified by the idMso parameter as a String.
Public method GetSupertipMso Returns the supertip of the control identified by the idMso parameter as a String.
Public method GetVisibleMso Returns True if the control identified by the idMso parameter is visible.
Public method ReleaseFocus Releases the user interface focus from all command bars.

Top

See Also

Reference

_CommandBars Interface

Microsoft.Office.Core Namespace