When creating your Help files, you can make your Help macros execute by:
nPlacing macros in the Help project file so that Windows Help executes the macros whenever the user opens the Help file.
nPlacing macros in a topic footnote so that the macros execute when the user displays the topic.
nConfiguring the menu bar and button bar so that Help executes a macro when the user chooses the menu item or button.
nAdding hot spots to your topic that execute a macro when the user chooses the hot spot.
nUsing an external application to send a function call to Windows Help that requests Help to execute a macro.
The following sections provide details about each of these methods.
Note:
Some Help macros don’t work when run from a pop-up or secondary window. For example, macros that configure the menu bar or button bar are ignored when run from a topic displayed in a pop-up or secondary window. For each macro listed in Chapter 15, “Help Macro Reference,” the “Comments” section indicates the situation(s) in which the macro will not work. Before using any macro, you should review its description in Chapter 15.