HelpOnTop

Changes the state of all Help windows to “on-top.” An on-top window appears visually on top of other application windows, except certain windows that may also use the topmost window attribute, such as the Windows Task Manager. Executing this macro is the same as choosing the Always On Top command on the Help menu.

Syntax

HelpOnTop()

Parameter Description

none  

Comments

Microsoft does not recommend executing this macro in the main Help window. Instead use the on-top attribute when defining secondary windows. For complete information about creating secondary windows with the on-top attribute, see Chapter 9, “Defining Topic Windows.”

Windows Help does not provide a macro to check the current state of the Always On Top command and place a check mark next to the command when the state has changed to on-top. Therefore, it is up to Help authors to decide whether they want to use a macro to change the state of the command on the menu.