CloseMainWindow: Boolean;
CloseMainWindow(): Boolean;
The CloseMainWindow method closes the process that has the user interface by sending the command to the main window to close.
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: