Syntax
[CONFIG]
macro
.
.
.
The [CONFIG] section contains one or more Windows Help macros that carry out actions, such as creating buttons or menus. This section can also contain macros that register routines in external DLLs as Windows Help macros. These routines can then be used the same as Windows Help macros. Windows Help executes the macros when it opens the Help file.
Parameter
macro
Specifies a Windows Help macro or a DLL function registered as a Help macro. For descriptions of the standard Help macros and the RegisterRoutine macro, see Chapter 15, “Help Macro Reference.”
Comments
The [CONFIG] section can include any number of lines, and each line can have as many as 512 characters. When listing macros in the [CONFIG] section, include only one macro per line, instead of stringing them together and separating them with semicolons as you do in macro hot spots and macro footnotes.
When opening a Help file, Help does not necessarily execute the macros listed in the [CONFIG] section in the same order.
Example
The following example registers two DLLs, creates a button, enables the browse buttons, and sets the name of the How To Use Help file:
[CONFIG]
RegisterRoutine("bmp","HDisplayBmp","USSS")
RegisterRoutine("bmp","CopyBmp", "v=USS")
CreateButton("btn_up", "&Up", "JumpContents(`HOME.HLP')")
BrowseButtons()
SetHelpOnFile("APPHELP.HLP")