The generated HTML Help is automatically linked to your application such that if the user presses F1 the help appears. However in many cases you want Help to be started by pressing a button on your form or from a toolbar. We have developed easy and reliable code which shows how to do this. With this code you can:
- Open Topic given its HelpContextId
- Open Topic given its HTML filename
- Open Topic given its HTML filename with bookmark (useful for forms with tabs)
- Open Help Table Of Contents
- Open Help Index
- Open Help Search dialog
The code is reliable (as opposed to much code found on the web, calling windows help can be tricky and cause GPF) and easy to use:
- HTMLHelp.OpenTopic strBookmark, Me.HelpFile
On the downloadpage you can download a demo program showing what functionality is supported. There are different demo programma's one for each platform. Look under: Demo