Skip to content

CommandBars Control Members

See Also

CommandBars Overview

Command Bars ActiveX Control v24.0

CommandBars Control Members

Public Methods

Public Properties

  • Public Property Actions - CommandBars Action items that have been added to the CommandBars.
  • Public Property ActiveMenuBar - Gets the Active Menu Bar object. The active menu bar is the first command bar and is used to display your menu.
  • Public Property ContextMenus - Collection of context menus used in the application.
  • Public Property Count - Gets the total number of command bars.
  • Public Property CustomizedControl - Returns a pointer to the currently selected control while in customization mode. This is the control that the user is currently customizing.
  • Public Property DesignerControls - Gets the designer controls collection for the command bar.
  • Public Property FocusedCommandBar - Returns the command bar that currently has focus.
  • Public Property FontHeight - Gets the font height used in command bars.
  • Public Property GlobalSettings - Command Bars global settings, such as application name and resource file.
  • Public Property Icons - Gets the icons for the command bar.
  • Public Property IsAllCaps - Indicates whether the command bars are currently in all caps.
  • Public Property IsAllowFrameTransparency - Indicates whether frame transparency is allowed.
  • Public Property Item - Gets a command bar by its index.
  • Public Property KeyBindings - Gets the collection of key bindings (accelerator keys) associated with the various commands used in command bars.
  • Public Property MessageBar - Represents the message bar.
  • Public Property Options - Contains settings that can be used to modify the way the command bars display text, popup menus, and the workspace.
  • Public Property PaintManager - Gets the paint manager for the command bar.
  • Public Property RecentFileList - Gets the recent file list.
  • Public Property ReCreateReparented - Gets or sets a value indicating whether to recreate reparented controls.
  • Public Property RightToLeft - Gets or sets a value indicating whether the CommandBars elements are aligned to support locales using right-to-left fonts.
  • Public Property ScaleMode - Used to change the Command Bars measurement units/coordinate system.
  • Public Property StatusBar - Gets the status bar for the command bar.
  • Public Property TabWorkspace - Gets the tab workspace for the command bar.
  • Public Property ToolTipContext - Represents the tool tip window that is used to display tool tips.
  • Public Property TrackingMode - Indicates whether the command bars are currently "eating" key strokes. The command bars "eat" keystrokes when a popup or toolbar currently has focus.
  • Public Property VisualTheme - Gets/sets the visual theme which is used to display command bars.

Events

  • Public Event CommandBarKeyDown - 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 Event ControlNotify - Occurs when a control sends a notification.
  • Public Event ControlRButtonUp - Occurs when a control is right-clicked.
  • Public Event ControlSelected - Occurs when a control is selected.
  • Public Event Customization - Occurs when the customize dialog is displayed.
  • Public Event CustomizationAddToolBar - Occurs when a new custom toolbar is added via the Customization Dialog.
  • Public Event CustomizationDeleteToolBar - Occurs when a new custom toolbar is deleted via the Customization Dialog.
  • Public Event CustomizationDone - Occurs after command bar customization is complete.
  • Public Event CustomizationResetAll - Occurs when the "reset all" button is pressed in the customization dialog.
  • Public Event CustomizationResetToolBar - Occurs when the "reset" button is used to reset a toolbar back to the default layout.
  • Public Event Execute - Occurs when a command bar control is clicked.
  • Public Event GetActiveDocumentID - 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 Event GetClientBordersWidth - Occurs when the area occupied by controls docked to the edges of the form has to be retrieved.
  • Public Event InitCommandsPopup - Occurs when a popup control is about to be expanded/shown.
  • Public Event MessageBarClosed - 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 Event OLECompleteDrag - Occurs when the command bar's component is dropped onto a target component.
  • Public Event OLEStartDrag - Occurs when the command bar's component initiates an OLE drag/drop operation.
  • Public Event ReCreated - Occurs when controls are to be repositioned on a MDI form.
  • Public Event RepositionAlignedControls - Occurs when the command bar layout changes.
  • Public Event Resize - Occurs when the command bar layout changes.
  • Public Event ResizeClient - Occurs when a special color has been changed in the command bar.
  • Public Event SpecialColorChanged - Occurs when the CommandBars default context menu is displayed.
  • Public Event ToolBarContextMenu - Occurs when the command bars tracking mode has changed. Tracking mode is similar to get/lost focus for a command bar.
  • Public Event ToolBarVisibleChanged - Occurs when the visible status of a Toolbar changes.
  • Public Event TrackingModeChanged - Occurs when a command bar control has been updated.
  • Public Event Update - Occurs when a command bar control has been updated.

See Also

CommandBars Overview


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