Context-sensitive help

This article is written for software developers who have never implemented context-sensitive help. It explains the concepts and it describes the basic types of context-sensitive help. There is a demonstration application and associated help.

What is context-sensitive help?

Most people are familiar with context-sensitive help, even if they don't use that term. For example, if you click a Help button on a screen or press the F1 key on your keyboard, if the help topic that appears applies to the dialog box (rather than being the first topic in the help), then the help is context-sensitive.

There are two basic forms of context sensitivity:

Linking the application and the help

A help topic is related to an object in an application by means of a map ID (or context ID). This is just a number. Typically, the object will be 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 Help button, the application calls the help file, and passes a value that corresponds to the required topic of help. The exact details are, of course, dependent upon the IDE that is used to create the application.

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

Demonstration files

There are three files:

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

See also Linking web pages to help topics

RSS feed