Help Files Function and Message Descriptions

Table 28.2 summarizes the functions and messages used to interface with help files. A detailed description of each function and message follows the table.

Table 28.2. Help Files Function and Message Summary
Function Purpose
GetMenuContextHelpId Retrieves the help context ID of the specified menu
GetWindowContextHelpId Retrieves the help context ID of the specified window or control
SetMenuContextHelpId Sets the help context ID of the specified menu
SetWindowContextHelpId Sets the help context ID of the specified window or control
WinHelp Executes the Windows help engine
Message Purpose
WM_HELP Sent to an application when the user presses the F1 key or clicks the question mark icon in the application's ...

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.