CloseWindow

Closes either the main Help window or a secondary window.

Syntax

CloseWindow("window-name")

Parameter Description

window-name Name of the window to close. The name “main” is reserved for the primary Help window. For secondary windows, the window name is defined in the [WINDOWS] section of the Help project file. This name must be enclosed in quotation marks.

Example

The following macro closes the “index” secondary window:

CloseWindow("index")

Comments

If the window does not exist, Windows Help ignores the macro.

See Also

Exit