Graphics as Jumps in Windows Help Files

Last reviewed: November 2, 1995
Article ID: Q67884
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows versions 3.0 and 3.1
  • Microsoft Win32 SDK, versions 3.5, 3.51, and 4.0

SUMMARY

One of the things that reduces the training required to learn Windows is the presence of consistent graphical help. You can create Help files that use graphic images as context jumps or as glossary pop-ups.

MORE INFORMATION

To use a graphic as a context jump, perform the following steps:

  1. Create the graphic in your favorite graphics editor. The typical Windows developer has at least two tools available for this purpose:

    a. Windows Paintbrush, included with the retail release of Windows

    b. SDKPaint, provided with the Windows SDK

    A Note to Paintbrush Users --------------------------

    When an image is saved from Paintbrush, by default, the entire "canvas" is saved to disk, not just the image created. To work around this potential problem, after the image is complete, use the square outline tool (at the upper right of the tool bar) to select the image. If the image is not square, select the smallest bounding rectangle, leaving a border if desired. From the Edit menu, choose Copy To, and fill in the name of the file in which to save the selection.

  2. Edit the file that contains the Help text. This is often called the .RTF file.

  3. Place the cursor where the graphic should occur and turn on the strikethrough character format feature of the text editor. Word for Windows users should use double underline character formatting instead.

  4. Insert one of the following text strings:

          {bmc <filename>}
          -or-
          {bml <filename>}
          -or-
          {bmr <filename>}
    

    This text should be struck through (or double underlined).

  5. Turn off the strikethrough (or double underline) character format and turn on hidden text character formatting.

  6. Type the context string for the jump destination.

  7. Turn off hidden text character formatting.

  8. Save the .RTF file.

  9. Edit the .HPJ file. There must be a [BITMAPS] section in this file, and that section must include the name of the bitmap used above.

When the Help file is built, clicking the graphic with the mouse will cause Help to change to the specified context.

If the graphic has a name or other short text description, we recommend that the text also be coded as a context jump. This way, the user can click on either the graphic or the text to perform the jump. The text also provides a means for users without a mouse to perform the jump.

More information on Windows Help files is in Chapters 15 through 19 of the "Microsoft Windows Software Development Kit Tools" manual. Chapter 17 discusses context jumps, glossary pop-ups, and inserting graphics into the Help file by reference.


Additional reference words: 3.00 3.10 3.50 4.00 95
KBCategory: kbtool
KBSubcategory: TlsHlp


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.