AppCtrlScript

MAY Computer

Help

CLOSEWINDOW

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

GETTOPWINDOWFINDWINDOWLIKE, CLOSEAPPS

Closes the window with the specified window handle. To get a specific window's handle use the FINDWINDOWLIKE or GETTOPWINDOW commands.

Syntax

CLOSEWIN[DOW] <WindowHandle>, [<ActivateBefore>]

Part

Description

<WindowHandle> Handle of the window to be closed.
<ActivateBefore> 1|0; Flag, if the specified window should be activated before closed (that probably appearing popup windows are displayed in foreground). If 1 (default) then window will be activated before sending the close window message.