Programming Help in applications

The following information is intended for application developers. There are different methods for programming Help in applications, depending on the kind of context-sensitive Help involved.

Window-level Help for Windows applications

To call a topic using a map number, make a call to the HTML Help API using the following syntax:

HWND HtmlHelp(Window(), “c:\path\helpfile.chm”, HH_HELP_CONTEXT, Number);

To call a topic using a file name, make a call to the HTML Help API using the following syntax:

HWND HtmlHelp (Window(), “c:\path\helpfile.chm”, HH_DISPLAY_TOPIC, "topicfile.htm");

What’s This? Help for Windows applications

The method for programming What’s This? Help in your application depends on the way the context-sensitive Help was created.

Note: For further information about programming Help in Windows applications, see the HTML Help API Reference at http://msdn.microsoft.com/workshop/author/htmlhelp/hhapi.asp.

Window-level Help for non-Windows platforms