SAMPLE: Creating a Glossary Button in Windows HelpLast reviewed: February 15, 1996Article ID: Q87343 |
The information in this article applies to:
SUMMARYHLPGLOSS is a file in the Microsoft Software Library that demonstrates how to add a Glossary button to the button bar in the Microsoft Windows Help application. The help file for the Windows Program Manager is an example of a popular help file that has a Glossary button. When the user chooses the Glossary button, Help displays the Glossary topic in a secondary window. Download HLPGLOSS.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
MORE INFORMATIONTo create a Glossary button, two items must be added to the Help project (.HPJ) file:
[CONFIG] ; Because the help topic is in this Help file and the context ; identifier is available, the code below specifies the JumpId (JI) ; macro. The glossary is shown in the secondary "Glossary" window ; specified in the [WINDOWS] section below. The peculiar single quotes ; are significant. Note: In an actual Help project file, the following ; information appears on one line (no break). CreateButton("Glossary_Btn","&Glossary","JI(`hlpgloss.hlp>Gloss', `Glossary_Context')") [WINDOWS] ; Define the secondary window for the glossary in the [WINDOWS] ; section of the HPJ file for the Help file that contains the glossary ; topic. Gloss = "Glossary",(100,100,350,350),0,(255,255,255),(255,255,255)
|
Additional reference words: 3.10 3.00 WinHelp softlib HLPGLOSS.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |