WindowHandle
(number) A windows handle that becomes the owner of any user interface created. If this parameter is nil, the owner of the user interface does not change. You can use the Application.GetWndHandle action to get a handle to the application's main window.
Re t u r n s
(table) Returns nil if the call fails or a table if successful with the following indexes:
KEY |
TYPE DESCRIPTION |
|
PreviousInterface |
number |
The previous user interface level. |
PreviousWindowHandle |
number |
The previous window handle of the owner process. If WindowHandle was passed in as nil or not specified, this value will be nil. |
If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.