Microsoft KB Archive/66631

= Adding a Category in QuickHelp =

Article ID: 66631

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft HELPMAKE Utility for MS-DOS 1.07
 * Microsoft HELPMAKE Utility for OS/2 1.07

-



This article was previously published under Q66631



SUMMARY
When creating a help database with HELPMAKE, new categories may be added to the Microsoft Advisor help system for use in the QuickHelp utility. To add selections that will appear under the QuickHelp Categories menu, use the topic &quot;List categories.&quot; Under the List categories topic, list the selections that need to be added to the menu.



MORE INFORMATION
The following is a sample help file:   File CATEGORY.TXT -

.context List categories Category1 Category2

.context Category1 This is the information under the first category.

.context Category2 This is the information under the second category. For the file CATEGORY.TXT shown above, the HELPMAKE command line will appear as follows:

helpmake /E8 /Ocategory.hlp category.txt

The choice of /E8 for partial compression is strictly arbitrary in this case, and is shown for demonstration purposes only. The maximum compression can be achieved by using /E15, and no compression is denoted by /E0.

When the above help database is added to the list of databases for the Advisor, the topics &quot;Category1&quot; and &quot;Category2&quot; will be added under the Categories menu.

The items that are placed in the List categories topic should be topics that are already defined with &quot;.context&quot; strings; otherwise, when the item is selected from the Categories menu, a message will be displayed stating that the topic could not be found.

When using HELPMAKE with the &quot;/C&quot; option, which preserves case sensitivity, you must use the string &quot;List categories&quot; exactly. The case is important. Failure to use the exact case for each letter will cause the Advisor to ignore the categories you have added.

Additional query words: kbinf 1.40 1.70 1.83

Keywords: kb16bitonly KB66631

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.