CommandBars Control Members
See Also
| Command Bars ActiveX Control v24.0 | ||||||||
|---|---|---|---|---|---|---|---|---|
CommandBars Control Members
Public Methods
AboutBox - Displays the About Box for the control.
Add - Adds a new command bar.
AddCustomBar - Allows custom command bars created with the command bars.
AddDialogBar - Adds a Dialog Bar to the Command Bars collection of controls.
AddIconHandle - Adds an icon for use with command bar controls.
AddImageList - Adds icons from an image list which are used to display command bar items.
AddMenuBar - Adds an active menu bar.
AddMiniToolBar - Creates a MiniToolbar.
AddRibbonBar - Adds a RibbonBar.
AddTabToolBar - Adds a Tabbed ToolBar.
AllowFrameTransparency - Enables the use of Windows 7/Vista style transparent toolbars.
AttachToWindow - Specifies the control that will contain the CommandBars.
ClosePopups - Closes all command bar popups.
ContextHelp - Context help base id.
CreateCommandBar - Universal method for creating command bar popup objects.
CreateCommandBarControl - Universal method for creating command bar controls.
CreateGalleryItems - Creates a CommandBarGalleryItems collection for use in a CommandBarGallery control.
CreateStateOptions - 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.
DeleteAll - Deletes all the command bars in the collection of CommandBars.
DisableFrameThemeHandle - Removes the Office 2007 style frame to a specified window if applicable.
DisableOffice2007FrameHandle - Disables the Office 2007 frame handle.
DockToolBar - Docks a toolbar to the specified command bar.
DoPropExchange - Exchanges layout and state information to/from a PropExchange object.
EnableActions - Enables or disables the use of Actions in the command bars.
EnableCustomization - Enables/disables customization of the command bar.
EnableDefaultResetCustomizedToolbarChoice - Enables the default reset customized toolbar choice.
EnableFrameTheme - Specifies that the Office 2007 style frame will be used.
EnableFrameThemeHandle - Applies an Office 2007 style frame to a specified window.
EnableOffice2007Frame - Enables the use of the Office 2007 frame.
EnableOffice2007FrameHandle - Enables the Office 2007 frame handle.
EnableToolbarComposition - Enables toolbar composition.
FindControl - Finds the specified control.
GetClientRect - Retrieves the dimensions of the client rectangle, that is, the area on the form which does not have any command bars.
GetDispatch - Used in .NET to retrieve self object.
GetSpecialColor - Gets a special color to use in the command bar.
LoadCommandBars - Loads command bars from the registry.
LoadDesignerBars - Loads a command bar layout from a file.
LoadStateFromString - Loads the layout of the CommandBar from a string.
LoadStateFromXMLString - Loads a Command Bar state from an XML string.
MoveAlignedControl - Moves and resizes a control to a specified location within its container.
OLEDrag - Initiates an OLE drag/drop operation when the OLEDragMode property is set to Automatic.
RecalcLayout - Recalculates the entire layout of the docking panes on the form.
SaveCommandBars - Saves command bars to the registry.
SaveStateToString - Saves the layout of the CommandBar to a string.
SaveStateToXMLString - Saves the Command Bar state to an XML string.
SetAllCaps - Sets all caps for command bar items.
SetMDIClient - Used in .NET to set handle to MDI client window.
SetOfficeSetBackImage - Sets the background image for the Office set.
SetSpecialColor - Changes the color of the various components that make up the command bars.
ShowCustomizeDialog - Displays the command bars "Customize" dialog box with the option to specify which tab is displayed when opened.
ShowTabWorkspace - Shows the TabWorkspace.
Public Properties
Actions - CommandBars Action items that have been added to the CommandBars.
ActiveMenuBar - Gets the Active Menu Bar object. The active menu bar is the first command bar and is used to display your menu.
ContextMenus - Collection of context menus used in the application.
Count - Gets the total number of command bars.
CustomizedControl - Returns a pointer to the currently selected control while in customization mode. This is the control that the user is currently customizing.
DesignerControls - Gets the designer controls collection for the command bar.
FocusedCommandBar - Returns the command bar that currently has focus.
FontHeight - Gets the font height used in command bars.
GlobalSettings - Command Bars global settings, such as application name and resource file.
Icons - Gets the icons for the command bar.
IsAllCaps - Indicates whether the command bars are currently in all caps.
IsAllowFrameTransparency - Indicates whether frame transparency is allowed.
Item - Gets a command bar by its index.
KeyBindings - Gets the collection of key bindings (accelerator keys) associated with the various commands used in command bars.
MessageBar - Represents the message bar.
Options - Contains settings that can be used to modify the way the command bars display text, popup menus, and the workspace.
PaintManager - Gets the paint manager for the command bar.
RecentFileList - Gets the recent file list.
ReCreateReparented - Gets or sets a value indicating whether to recreate reparented controls.
RightToLeft - Gets or sets a value indicating whether the CommandBars elements are aligned to support locales using right-to-left fonts.
ScaleMode - Used to change the Command Bars measurement units/coordinate system.
StatusBar - Gets the status bar for the command bar.
TabWorkspace - Gets the tab workspace for the command bar.
ToolTipContext - Represents the tool tip window that is used to display tool tips.
TrackingMode - Indicates whether the command bars are currently "eating" key strokes. The command bars "eat" keystrokes when a popup or toolbar currently has focus.
VisualTheme - Gets/sets the visual theme which is used to display command bars.
Events
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.
ControlNotify - Occurs when a control sends a notification.
ControlRButtonUp - Occurs when a control is right-clicked.
ControlSelected - Occurs when a control is selected.
Customization - Occurs when the customize dialog is displayed.
CustomizationAddToolBar - Occurs when a new custom toolbar is added via the Customization Dialog.
CustomizationDeleteToolBar - Occurs when a new custom toolbar is deleted via the Customization Dialog.
CustomizationDone - Occurs after command bar customization is complete.
CustomizationResetAll - Occurs when the "reset all" button is pressed in the customization dialog.
CustomizationResetToolBar - Occurs when the "reset" button is used to reset a toolbar back to the default layout.
Execute - Occurs when a command bar control is clicked.
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.
GetClientBordersWidth - Occurs when the area occupied by controls docked to the edges of the form has to be retrieved.
InitCommandsPopup - Occurs when a popup control is about to be expanded/shown.
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.
OLECompleteDrag - Occurs when the command bar's component is dropped onto a target component.
OLEStartDrag - Occurs when the command bar's component initiates an OLE drag/drop operation.
ReCreated - Occurs when controls are to be repositioned on a MDI form.
RepositionAlignedControls - Occurs when the command bar layout changes.
Resize - Occurs when the command bar layout changes.
ResizeClient - Occurs when a special color has been changed in the command bar.
SpecialColorChanged - Occurs when the CommandBars default context menu is displayed.
ToolBarContextMenu - Occurs when the command bars tracking mode has changed. Tracking mode is similar to get/lost focus for a command bar.
ToolBarVisibleChanged - Occurs when the visible status of a Toolbar changes.
TrackingModeChanged - Occurs when a command bar control has been updated.
Update - Occurs when a command bar control has been updated.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.