ADK/ADT: How to Create Pop-up, Context-Sensitive HelpLast reviewed: April 8, 1997Article ID: Q124823 |
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 so, 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 Access Basic and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Access Basic, please refer to the "Introduction to Programming" manual in Microsoft Access version 1.x, or the "Building Applications" manual in version 2.0. This article also assumes that you are familiar with creating Windows Help files. For more information about creating Help files, refer to the "Help Compiler Guide" included with the Microsoft Access Distribution Kit version 1.1 and the Microsoft Access Developer's Toolkit version 2.0.
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:
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. NOTE: In the following sample code, an underscore (_) at the end of a line is used as a line-continuation character. Remove the underscore from the end of the line when re-creating this code in Access Basic.
REFERENCESMicrosoft Windows version 3.0 Software Development Kit "Reference Volume 1"
|
Additional query words: pop up popup
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |