CloseApp

Description:

baCloseApp closes the application owning a specified window.

Platforms:

Windows

Usage:

Result = baCloseApp( WinHandle )

Arguments:

Integer.
WinHandle is the handle of the window to close.

Returns:

Void.

Examples:

Director:
baCloseApp( WinHandle )

Authorware:
baCloseApp( WinHandle )
 

Notes:

Not all applications react kindly to being closed by other applications, and may leave the system unstable. If you use this function, be sure to test thoroughly. If possible, use the baCloseWindow function instead.
 

See also:

baCloseWindow