CommandBarsFrame Control Members
See Also

| Command Bars ActiveX Control v24.0 |
|---|
CommandBarsFrame Control Members
Public Methods
| Method | Description |
|---|---|
AboutBox |
Displays the About Box for the control. |
Add |
Adds a new command bar. |
AddCustomBar |
Allows custom command bars created with the CommandBars. |
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 |
Specifies the control that will contain the CommandBars. |
AttachToWindow |
Attaches the CommandBars to a specified window. |
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 from 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 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 the 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 |
Causes the command bars to initiate an OLE drag/drop operation. |
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 the command bar items. |
SetMDIClient |
Used in .NET to set handle to MDI client window. |
SetOfficeSetBackImage |
Sets the office background image. |
SetSpecialColor |
Used to change 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
| Property | Description |
|---|---|
Actions |
Collection of command bars 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. |
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 "eating" key strokes. The command bars "eat" keystrokes when a popup or toolbar currently has focus. |
IsAllowFrameTransparency |
Gets or sets a value indicating whether the CommandBars elements are aligned to support locales using right-to-left fonts. |
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 bars. |
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 command bars support right-to-left layout. |
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 |
Gets or sets the tracking mode for the command bars. |
VisualTheme |
Gets/sets the visual theme which is used to display command bars. |
Events
| Event | Description |
|---|---|
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" button is used to reset a toolbar back to the default layout. |
CustomizationResetToolBar |
Occurs when a command bar control is clicked. |
Execute |
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. |
GetActiveDocumentID |
Occurs when the area occupied by controls docked to the edges of the form has to be retrieved. |
GetClientBordersWidth |
Occurs when a popup control is about to be expanded/shown. |
InitCommandsPopup |
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. |
MessageBarClosed |
Occurs when the command bar's layout changes. |
OLECompleteDrag |
Occurs when the command bar's layout changes. |
OLEStartDrag |
Occurs when a special color has been changed in the command bar. |
ReCreated |
Occurs when the CommandBars default context menu is displayed. |
RepositionAlignedControls |
Occurs when the command bars tracking mode has changed. Tracking mode is similar to get/lost focus for a command bar. |
Resize |
Occurs when a command bar control has been updated. |
ResizeClient |
Occurs when controls are to be repositioned on a MDI form. |
SpecialColorChanged |
Occurs when the command bar layout changes. |
ToolBarContextMenu |
Occurs when the command bar's component is dropped onto a target component. |
ToolBarVisibleChanged |
Occurs when the visible status of a Toolbar changes. |
TrackingModeChanged |
Occurs when the command bars tracking mode has changed. |
Update |
Occurs when a command bar control has been updated. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.


