Skip to content

CommandBarsFrame Control Members

See Also

CommandBarsFrame Overview

See Also

Command Bars ActiveX Control v24.0

CommandBarsFrame Control Members

Public Methods

Method Description
Public MethodAboutBox Displays the About Box for the control.
Public MethodAdd Adds a new command bar.
Public MethodAddCustomBar Allows custom command bars created with the CommandBars.
Public MethodAddDialogBar Adds a Dialog Bar to the Command Bars collection of controls.
Public MethodAddIconHandle Adds an icon for use with command bar controls.
Public MethodAddImageList Adds icons from an image list which are used to display command bar items.
Public MethodAddMenuBar Adds an active menu bar.
Public MethodAddMiniToolBar Creates a MiniToolbar.
Public MethodAddRibbonBar Adds a RibbonBar.
Public MethodAddTabToolBar Adds a Tabbed ToolBar.
Public MethodAllowFrameTransparency Specifies the control that will contain the CommandBars.
Public MethodAttachToWindow Attaches the CommandBars to a specified window.
Public MethodClosePopups Closes all command bar popups.
Public MethodContextHelp Context help base id.
Public MethodCreateCommandBar Universal method for creating command bar popup objects.
Public MethodCreateCommandBarControl Universal method for creating command bar controls.
Public MethodCreateGalleryItems Creates a CommandBarGalleryItems collection for use in a CommandBarGallery control.
Public MethodCreateStateOptions Creates a set of State Options that will be used to specify how and what will be saved and loaded when using the LoadStateFromXMLString and SaveStateFromXMLString methods.
Public MethodDeleteAll Deletes all the command bars in the collection of CommandBars.
Public MethodDisableFrameThemeHandle Removes the Office 2007 style frame from a specified window if applicable.
Public MethodDisableOffice2007FrameHandle Disables the Office 2007 frame handle.
Public MethodDockToolBar Docks a toolbar to the specified command bar.
Public MethodDoPropExchange Exchanges layout and state information to/from a PropExchange object.
Public MethodEnableActions Enables or disables the use of Actions in the command bars.
Public MethodEnableCustomization Enables/disables customization of the command bar.
Public MethodEnableDefaultResetCustomizedToolbarChoice Enables the default reset customized toolbar choice.
Public MethodEnableFrameTheme Specifies that the Office 2007 style frame will be used.
Public MethodEnableFrameThemeHandle Applies an Office 2007 style frame to a specified window.
Public MethodEnableOffice2007Frame Enables the Office 2007 frame.
Public MethodEnableOffice2007FrameHandle Enables the Office 2007 frame handle.
Public MethodEnableToolbarComposition Enables toolbar composition.
Public MethodFindControl Finds the specified control.
Public MethodGetClientRect Retrieves the dimensions of the client rectangle, that is, the area on the form which does not have any command bars.
Public MethodGetDispatch Used in .NET to retrieve the self object.
Public MethodGetSpecialColor Gets a special color to use in the command bar.
Public MethodLoadCommandBars Loads command bars from the registry.
Public MethodLoadDesignerBars Loads a command bar layout from a file.
Public MethodLoadStateFromString Loads the layout of the CommandBar from a string.
Public MethodLoadStateFromXMLString Loads a Command Bar state from an XML string.
Public MethodMoveAlignedControl Moves and resizes a control to a specified location within its container.
Public MethodOLEDrag Causes the command bars to initiate an OLE drag/drop operation.
Public MethodRecalcLayout Recalculates the entire layout of the docking panes on the form.
Public MethodSaveCommandBars Saves command bars to the registry.
Public MethodSaveStateToString Saves the layout of the CommandBar to a string.
Public MethodSaveStateToXMLString Saves the Command Bar state to an XML string.
Public MethodSetAllCaps Sets all caps for the command bar items.
Public MethodSetMDIClient Used in .NET to set handle to MDI client window.
Public MethodSetOfficeSetBackImage Sets the office background image.
Public MethodSetSpecialColor Used to change the color of the various components that make up the command bars.
Public MethodShowCustomizeDialog Displays the command bars "Customize" dialog box with the option to specify which tab is displayed when opened.
Public MethodShowTabWorkspace Shows the TabWorkspace.

Public Properties

Property Description
Public PropertyActions Collection of command bars action items that have been added to the CommandBars.
Public PropertyActiveMenuBar Gets the Active Menu Bar object. The active menu bar is the first command bar and is used to display your menu.
Public PropertyContextMenus Collection of context menus used in the application.
Public PropertyCount Gets the total number of command bars.
Public PropertyCustomizedControl Returns a pointer to the currently selected control while in customization mode. This is the control that the user is currently customizing.
Public PropertyDesignerControls Gets the designer controls collection for the command bar.
Public PropertyFocusedCommandBar Returns the command bar that currently has focus.
Public PropertyGlobalSettings Command Bars global settings, such as application name and resource file.
Public PropertyIcons Gets the icons for the command bar.
Public PropertyIsAllCaps Indicates whether the command bars are currently "eating" key strokes. The command bars "eat" keystrokes when a popup or toolbar currently has focus.
Public PropertyIsAllowFrameTransparency Gets or sets a value indicating whether the CommandBars elements are aligned to support locales using right-to-left fonts.
Public PropertyItem Gets a command bar by its index.
Public PropertyKeyBindings Gets the collection of key bindings (accelerator keys) associated with the various commands used in command bars.
Public PropertyMessageBar Represents the message bar.
Public PropertyOptions Contains settings that can be used to modify the way the command bars display text, popup menus, and the workspace.
Public PropertyPaintManager Gets the paint manager for the command bars.
Public PropertyRecentFileList Gets the recent file list.
Public PropertyReCreateReparented Gets or sets a value indicating whether to recreate reparented controls.
Public PropertyRightToLeft Gets or sets a value indicating whether the command bars support right-to-left layout.
Public PropertyScaleMode Used to change the Command Bars measurement units/coordinate system.
Public PropertyStatusBar Gets the status bar for the command bar.
Public PropertyTabWorkspace Gets the tab workspace for the command bar.
Public PropertyToolTipContext Represents the tool tip window that is used to display tool tips.
Public PropertyTrackingMode Gets or sets the tracking mode for the command bars.
Public PropertyVisualTheme Gets/sets the visual theme which is used to display command bars.

Events

Event Description
Public EventCommandBarKeyDown Occurs when a key is pressed and a popup menu is open, a popup menu has focus, or a menu item in a popup menu has focus.
Public EventControlNotify Occurs when a control sends a notification.
Public EventControlRButtonUp Occurs when a control is right-clicked.
Public EventControlSelected Occurs when a control is selected.
Public EventCustomization Occurs when the customize dialog is displayed.
Public EventCustomizationAddToolBar Occurs when a new custom toolbar is added via the Customization Dialog.
Public EventCustomizationDeleteToolBar Occurs when a new custom toolbar is deleted via the Customization Dialog.
Public EventCustomizationDone Occurs after command bar customization is complete.
Public EventCustomizationResetAll Occurs when the "reset" button is used to reset a toolbar back to the default layout.
Public EventCustomizationResetToolBar Occurs when a command bar control is clicked.
Public EventExecute Occurs when a MDI document becomes active, or all documents are closed. It is used to decide which MDI menus to display based on the type of document that is active.
Public EventGetActiveDocumentID Occurs when the area occupied by controls docked to the edges of the form has to be retrieved.
Public EventGetClientBordersWidth Occurs when a popup control is about to be expanded/shown.
Public EventInitCommandsPopup Occurs when the command bar's component is dropped onto a target component, informing the command bar's component that a drag action was either performed or canceled.
Public EventMessageBarClosed Occurs when the command bar's layout changes.
Public EventOLECompleteDrag Occurs when the command bar's layout changes.
Public EventOLEStartDrag Occurs when a special color has been changed in the command bar.
Public EventReCreated Occurs when the CommandBars default context menu is displayed.
Public EventRepositionAlignedControls Occurs when the command bars tracking mode has changed. Tracking mode is similar to get/lost focus for a command bar.
Public EventResize Occurs when a command bar control has been updated.
Public EventResizeClient Occurs when controls are to be repositioned on a MDI form.
Public EventSpecialColorChanged Occurs when the command bar layout changes.
Public EventToolBarContextMenu Occurs when the command bar's component is dropped onto a target component.
Public EventToolBarVisibleChanged Occurs when the visible status of a Toolbar changes.
Public EventTrackingModeChanged Occurs when the command bars tracking mode has changed.
Public EventUpdate Occurs when a command bar control has been updated.

See Also

CommandBarsFrame Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.