IWinProcess.CloseMainWindow

Fore Syntax

CloseMainWindow: Boolean;

Fore.NET Syntax

CloseMainWindow(): Boolean;

Description

The CloseMainWindow method closes the process that has the user interface by sending the command to the main window to close.

Comments

The method returns True if the running process has the main window and the command to close is sent to the window. The method returns False if the process has no main window or is already running.

See also:

IWinProcess