ACC: How to Create Pop-up Context-Sensitive Help (95/97)Last reviewed: August 28, 1997Article ID: Q141621 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. One alternative to displaying your application's online Help system in a separate window is to display it in a small, shaded pop-up window within your application. To do this, you can use the Windows API WinHelp() function with its HELP_CONTEXTPOPUP argument. This article describes how to implement such a Help system. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. This article also assumes that you are familiar with creating Windows Help files using the Windows Help Workshop.
MORE INFORMATIONThe Windows API WinHelp() function supports a large number of options. The HELP_CONTEXTPOPUP option opens a shaded pop-up window for you to display Help in. This window is similar to the window that opens when you click a glossary entry (green, underlined text) in the Microsoft Access Help system. To implement this feature you need to do the following:
The following steps describe how to create the user-defined function to open the pop-up Help window and how to redirect the F1 key:
REFERENCESFor more information about creating Help files, refer to the online Help supplied Windows Help Workshop and the Help Workshop's training Cards. For more information about HelpContextID, search the Help Index for "HelpContextID" or ask the Microsoft Access 97 Office Assistant. Keywords : kbusage PgmApi PgmHowTo Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |