Providing Context-Sensitive Help

In addition to providing a Help menu item, whenever possible your application should provide context-sensitive help. Context-sensitive help uses the WinHelp function to display a topic that is determined based on the current state of the application. When a user requests context-sensitive help, Windows sends your application a WM_HELP message. The user requests context-sensitive help by pressing F1 or by clicking the Help icon (if available) in the application's title bar and then clicking a menu, control, or window in your application for which to receive help. This results in a different form of the WM_HELP message being sent to your application. In either case, the lParam parameter of the WM_HELP message points ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.