WindowFromHandle method lets you get the sTestComplete
Window object for a window specified by its handle.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following objects:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameter:
The handle of the desired window.
Window object whose handle is specified. If no window is found for the specified handle, the
WindowFrom Handle method returns an empty stub object.
To view an example that demonstrates how to use the
WindowFromHandle method, see Clicking In-place Editors' Buttons in Syncfusion GridGroupingControl.