IWinToolBar Interface |
Namespace: SmartBear.TestLeft.TestObjects.Win
The IWinToolBar type exposes the following members.
Name | Description | |
---|---|---|
Children |
Gets the collection of child objects.
(Inherited from IObjectTreeNode.) | |
Enabled |
Specifies whether the object is enabled or disabled.
(Inherited from IControl.) | |
Height |
The object's height in pixels.
(Inherited from IControl.) | |
Parent |
The parent object.
(Inherited from IObjectTreeNode.) | |
ScreenLeft |
The horizontal position of the object's left edge in screen coordinates.
(Inherited from IControl.) | |
ScreenTop |
The vertical position of the object's top edge in screen coordinates.
(Inherited from IControl.) | |
Visible |
Specifies whether an onscreen object is visible to users.
(Inherited from IControl.) | |
VisibleOnScreen |
Specifies whether the whole object or any of its parts is currently visible on screen.
(Inherited from IControl.) | |
wButtonBounds |
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.
| |
wButtonCount |
Returns the total number of buttons in the toolbar control.
| |
wButtonID |
Returns the identifier of a toolbar button specified by its index or name.
| |
wButtonPos |
Returns the item's position on the toolbar, from 0. The item is specified by its identifier or name.
| |
wButtonText |
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.
| |
wChecked |
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.
| |
wDisabledImage |
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.
| |
wEllipses |
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.
| |
wEnabled |
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.
| |
wGrayed |
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.
| |
wHotImage |
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.
| |
Width |
The object's width in pixels.
(Inherited from IControl.) | |
wImage |
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.
| |
wIsCheckButton |
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.
| |
wIsDropDownButton |
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.
| |
wIsSeparatorButton |
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.
| |
wLParam |
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.
| |
wRowsCount |
Returns the current number of button rows on a toolbar.
| |
wStyle |
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.
| |
wVisible |
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.
|
Name | Description | |
---|---|---|
CallMethodT(String, Object) |
Invokes the specified method and returns the result.
(Inherited from IObject.) | |
CastT |
Casts the interface to an interface of another type.
(Inherited from IObject.) | |
CheckItem(Int32, Boolean) |
Checks or unchecks the specified toolbar item.
| |
CheckItem(String, Boolean) |
Checks or unchecks the specified toolbar item.
| |
CheckItem(Int32, Boolean, Boolean) |
Checks or unchecks the specified toolbar item.
| |
Click |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
Click(Int32, Int32) |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
Click(Int32, Int32, ShiftKey) |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
ClickItem(Int32) |
Simulates a click on item.
| |
ClickItem(String) |
Simulates a click on item.
| |
ClickItem(Int32, Boolean) |
Simulates a click on item.
| |
ClickItem(String, ShiftKey) |
Simulates a click on item.
| |
ClickItem(Int32, Boolean, ShiftKey) |
Simulates a click on item.
| |
ClickItemR(Int32) |
Simulates a right-click on item.
| |
ClickItemR(String) |
Simulates a right-click on item.
| |
ClickItemR(Int32, Boolean) |
Simulates a right-click on item.
| |
ClickItemR(String, ShiftKey) |
Simulates a right-click on item.
| |
ClickItemR(Int32, Boolean, ShiftKey) |
Simulates a right-click on item.
| |
ClickItemRXY(Int32, Int32, Int32) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemRXY(String, Int32, Int32) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemRXY(Int32, Int32, Int32, Boolean) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemRXY(String, Int32, Int32, ShiftKey) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemRXY(Int32, Int32, Int32, Boolean, ShiftKey) |
Simulates a double-click of the right mouse button at position (X, Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemXY(Int32, Int32, Int32) |
Simulates a click at (X,Y) within the item. The top left corner of the item rectangle is (0,0).
| |
ClickItemXY(String, Int32, Int32) |
Simulates a click at (X,Y) within the item. The top left corner of the item rectangle is (0,0).
| |
ClickItemXY(Int32, Int32, Int32, Boolean) |
Simulates a click at (X,Y) within the item. The top left corner of the item rectangle is (0,0).
| |
ClickItemXY(String, Int32, Int32, ShiftKey) |
Simulates a click at (X,Y) within the item. The top left corner of the item rectangle is (0,0).
| |
ClickItemXY(Int32, Int32, Int32, Boolean, ShiftKey) |
Simulates a click at (X,Y) within the item. The top left corner of the item rectangle is (0,0).
| |
ClickM |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickM(Int32, Int32) |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickM(Int32, Int32, ShiftKey) |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickR |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
ClickR(Int32, Int32) |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
ClickR(Int32, Int32, ShiftKey) |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
DblClick |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClick(Int32, Int32) |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClick(Int32, Int32, ShiftKey) |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClickItem(Int32) |
Simulates a double click on item.
| |
DblClickItem(String) |
Simulates a double click on item.
| |
DblClickItem(Int32, Boolean) |
Simulates a double click on item.
| |
DblClickItem(String, ShiftKey) |
Simulates a double click on item.
| |
DblClickItem(Int32, Boolean, ShiftKey) |
Simulates a double click on item.
| |
DblClickItemR(Int32) |
Simulates a double-click of the right mouse button on item.
| |
DblClickItemR(String) |
Simulates a double-click of the right mouse button on item.
| |
DblClickItemR(Int32, Boolean) |
Simulates a double-click of the right mouse button on item.
| |
DblClickItemR(String, ShiftKey) |
Simulates a double-click of the right mouse button on item.
| |
DblClickItemR(Int32, Boolean, ShiftKey) |
Simulates a double-click of the right mouse button on item.
| |
DblClickM |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickM(Int32, Int32) |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickM(Int32, Int32, ShiftKey) |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR(Int32, Int32) |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR(Int32, Int32, ShiftKey) |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
Drag(Int32, Int32, Int32, Int32) |
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.) | |
Drag(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragM(Int32, Int32, Int32, Int32) |
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragM(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragR(Int32, Int32, Int32, Int32) |
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragR(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.) | |
FindT(ISearchPattern, Int32) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) | |
FindT(ISearchPattern, Int32, Int32) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) | |
FindAllT |
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.) | |
GetPropertyT |
Returns the value of the specified property.
(Inherited from IObject.) | |
HoverMouse |
Places the mouse pointer over the specified control.
(Inherited from IControl.) | |
HoverMouse(Int32, Int32) |
Places the mouse pointer over the specified control.
(Inherited from IControl.) | |
Keys |
Simulates keyboard input to a window or control.
(Inherited from IControl.) | |
MouseWheel(Int32) |
Simulates mouse wheel rotation.
(Inherited from IControl.) | |
MouseWheel(Int32, ShiftKey) |
Simulates mouse wheel rotation.
(Inherited from IControl.) | |
Picture |
Captures the image of the object.
(Inherited from IVisualObject.) | |
Picture(Int32, Int32, Int32, Int32, Boolean) |
Captures the image of the specified rectangular area of the object.
(Inherited from IVisualObject.) | |
ScreenToWindow |
Converts screen coordinates to coordinates relative to the object.
(Inherited from IControl.) | |
SetProperty |
Sets a value for the specified property.
(Inherited from IObject.) | |
TryFindT(ISearchPattern, T) |
Searches for an object that matches the specified pattern (the search depth is 1). The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) | |
TryFindT(ISearchPattern, Int32, T) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) | |
TryFindT(ISearchPattern, Int32, Int32, T) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) | |
WaitProperty(String, Object) |
Delays the test execution until the specified property equals the specified value or until the default time limit AutoWaitTimeout is reached.
(Inherited from IObjectTreeNode.) | |
WaitProperty(String, Object, Int32) |
Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.
(Inherited from IObjectTreeNode.) | |
WindowToScreen |
Converts coordinates relative to the object to coordinates relative to screen.
(Inherited from IControl.) |