Changes the focus to the specified window, either the main Help window or a secondary window.
Syntax
FocusWindow("window-name")
Parameter | Description |
window-name | Name of the window to receive the focus. The name “main” is reserved for the primary Help window. Secondary window names are defined in the [WINDOWS] section of the Help project file. This name must be enclosed in quotation marks. |
Example
The following macro changes the focus to the “keys” secondary window:
FocusWindow("keys")
Comments
If the window does not exist, Windows Help ignores the macro.
See Also
CloseWindow, PositionWindow