WindowPattern Properties |
The WindowPattern type exposes the following members.
Name | Description | |
---|---|---|
ControlId |
Specifies the window identifier for the search. The window identifier is the value that is returned by the GetWindowLong() or GetDlgCtrlID() Windows API function.
| |
Enabled |
Specifies whether the sought-for control is enabled (true) or disabled (false). Disabled controls are typically displayed in grey.
(Inherited from ControlPattern.) | |
Index |
The Index property value is the current front-to-back position (1-based) of the sought-for window among other windows that have the same class name and caption. You can see the index of a window in the TestLeft UI Spy panel.
| |
Visible |
Specifies whether the sought-for controls are visible (a control may be out of the screen, but still visible).
(Inherited from ControlPattern.) | |
WndCaption |
The title or text of the sought-for window. By default, TestLeft searches for the exact match. To mark variable parts, use wildcards (* or ?) or specify regular expressions (regexp:...).
| |
WndClass |
The window class name of the sought-for control as it is registered in the operating system. In some libraries, the class name changes from one application session to another. To mark variable parts in the class name, use wildcards (* or ?) or specify regular expressions (regexp:...).
|