See Also
MenuBar Overview
| Command Bars ActiveX Control v24.0 |
 |
Public Methods
| Method |
Description |
Delete |
Deletes the command bar. |
EnableDocking |
Enables docking of the command bar to different edges of the form or it can be "floating". |
FindControl |
Finds and returns the specified control within the command bar's collection of controls. |
GetIconHeight |
Gets the height of the icon. |
GetIconWidth |
Gets the width of the icon. |
GetWindowRect |
Gets the bounding rectangle of the command bar. This is the area of the window that the command bar occupies. |
ModifyStyle |
Modifies the style of the command bar. This allows you to add/remove the "gripper". |
RecalcLayout |
Call this method to re-calculate the layout of the command bar after making a layout change. |
RedrawBar |
Call this method to redraw the command bar after making a change that requires the command bar to be re-painted. |
Reset |
Resets the controls in the ToolBar to their original state. |
SetFlags |
Sets the flags of the command bar. This allows you to add/remove the MDI buttons that are displayed in the command bar. |
SetIconSize |
Sets the size of the actual bitmapped images to be added to the toolbar. |
SwitchMDIMenu |
Switches MDI Menus at run time. Can also be used with SDI application menus. |
Public Properties
| Property |
Description |
BarID |
Gets the ID of the command bar. |
BuiltIn |
Gets whether the command bar is a built-in command bar or a command bar added by the user using the customize dialog. |
Closeable |
Gets/Sets a Boolean value indicating whether the command bar is closeable. If false, the command bar cannot be closed or hidden. |
CommandBars |
Reference to the command bars object. |
ContextMenuPresent |
Gets/Sets whether a command to hide/show the command bar is added to the context menu that is displayed when you right-click on any command bar. By default, all command bars are added to the context menu. |
Controls |
Gets the collection of controls on the command bar. |
Customizable |
Gets/Sets a Boolean value indicating whether the command bar is customizable. If false, this command bar cannot be customized. |
CustomizeDialogPresent |
Gets/Sets whether the toolbar appears in the Customization Dialog. |
DefaultButtonStyle |
Specifies the default style that will be applied to controls added to the toolbar. |
EnableAnimation |
Specifies whether to use animation effects with this command bar. |
hWnd |
Returns the handle of the command bar. |
MDIMenus |
Collection of MDI Menus in the MenuBar. |
Parent |
Gets the popup control representing the parent of the command bar. |
Position |
Gets/Sets the position of the command bar. |
SelectedControl |
Gets the currently selected control from a command bar. |
ShowExpandButton |
Shows or hides the expand button for the Command Bar. |
ShowGripper |
Hides/shows the toolbar gripper. |
ShowTextBelowIcons |
Shows the caption below the control's icon. |
Title |
Gets/Sets the title of the command bar. |
Type |
Gets the type of the command bar. |
Visible |
Gets/Sets a Boolean value indicating whether the command bar is visible. |
Width |
Gets/Sets the width of the toolbar when it is floating, displayed as a popup, or a mini toolbar. |
See Also
MenuBar Overview
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.