Context-sensitive help

Document status: archived

This article is for software developers who have not implemented context-sensitive help. It explains the concepts and the basic types of context-sensitive help. A demonstration application with context-sensitive help is available.

What is context-sensitive help?

Most people know about context-sensitive help, even if they do not use that term. For example, if you click a Help button on a screen, and if the help topic that appears applies to the dialog box (instead of being the first topic in the help), then the help is context-sensitive.

Context-sensitivity two basic forms:

Linking the application and the help

A help topic is related to an object in an application by a map ID (or context ID), which is a number. Typically, the object is a screen or a dialog box, although it can be a button or an entry field, for example.

When a user presses the F1 key or the Help button, the application calls the help file, and passes a value that corresponds to the required help topic. The details are dependent on the IDE that is used to create the application.

The map ID values are arbitrary. They can be supplied by the software developers or by the help author.

Demonstration files

Three files are available:

Download a zipped set of files: context-sensitivity-files.zip, 18 KB.

See also

Linking web pages to help topics

RSS feed