Click or drag to resize

IWinToolBar Properties

The IWinToolBar type exposes the following members.

Properties
  NameDescription
Public propertyChildren
Gets the collection of child objects.
(Inherited from IObjectTreeNode.)
Public propertyEnabled
Specifies whether the object is enabled or disabled.
(Inherited from IControl.)
Public propertyHeight
The object's height in pixels.
(Inherited from IControl.)
Public propertyParent
The parent object.
(Inherited from IObjectTreeNode.)
Public propertyScreenLeft
The horizontal position of the object's left edge in screen coordinates.
(Inherited from IControl.)
Public propertyScreenTop
The vertical position of the object's top edge in screen coordinates.
(Inherited from IControl.)
Public propertyVisible
Specifies whether an onscreen object is visible to users.
(Inherited from IControl.)
Public propertyVisibleOnScreen
Specifies whether the whole object or any of its parts is currently visible on screen.
(Inherited from IControl.)
Public propertywButtonBounds
Returns the item's bounds. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywButtonCount
Returns the total number of buttons in the toolbar control.
Public propertywButtonID
Returns the identifier of a toolbar button specified by its index or name.
Public propertywButtonPos
Returns the item's position on the toolbar, from 0. The item is specified by its identifier or name.
Public propertywButtonText
Returns the caption of a toolbar button. The button can be specified by its identifier or position on the control (from 0), if ByPosition is set to true.
Public propertywChecked
Returns true if the item has the Check style and is in the Checked state; else, false. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywDisabledImage
Returns the image that corresponds to the disabled state of the specified control button. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywEllipses
Returns true if the button's text is cut off and an ellipsis is displayed. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywEnabled
Returns true if the item is in the Enabled state; else, false. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywGrayed
Returns true if the button is grayed. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywHotImage
Returns the image that corresponds to the hot state of the specified control button. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertyWidth
The object's width in pixels.
(Inherited from IControl.)
Public propertywImage
Returns the image that corresponds to the normal state of the specified control button. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywIsCheckButton
Returns true if the item has the Check style; else, false. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywIsDropDownButton
Returns true if the specified toolbar button has a drop-down list; else, false. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywIsSeparatorButton
Returns true if the item is a separator; else, false. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywLParam
Returns an application-defined value associated with the button. The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywRowsCount
Returns the current number of button rows on a toolbar.
Public propertywStyle
Returns the button's styles (see the Toolbar Control and Button Styles topic in MSDN). The button can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Public propertywVisible
Returns true if the item is not in the Hidden state; else, false. The item can be specified by its caption, identifier, or position on the control (from 0), if ByPosition is set to true.
Top
See Also