Description
Close the window. If the class name or window caption is passed in, only the first instance of any window will be closed. The developer will need to call the Close service multiple times until there are no more matching windows.
Syntax
rv = Window_Services("GetHandle", ClassName, CaptionText, AllHandles)
Parameters
Parameter | Description |
---|---|
ClassName | Class Name to the window. This is ignored if there is a handle. |
CaptionText | Caption text of the window. This is ignored if there is a handle or class name. |
AllHandles | Flag that determines if all handles should be returned rather than the first match. Only works when finding handles by CaptionText. |
Version
16.0.21