MiniToolBar Object Members
See Also
MiniToolBar Overview | AddMiniToolBar Method | AddPopup Method | PopupContextMenu Method | PopupMiniToolBar Method

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. |
PopupContextMenu |
Displays the MiniToolbar without a context menu below. |
PopupMiniToolBar |
Displays the MiniToolbar without a context menu below. |
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. |
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 parent CommandBars 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. |
CustomControlKeyboardInteraction |
|
Customizable |
Gets/Sets a Boolean value indicating whether the command bar is customizable. If false, this command bar cannot be customized. |
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. |
Position |
Gets/Sets the position of the command bar. |
SelectedControl |
Gets the currently selected control from a 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
MiniToolBar Overview | AddMiniToolBar Method | AddPopup Method | PopupContextMenu Method | PopupMiniToolBar Method
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.

