Opens a pop-up context menu. Generally used in response to the Windows WM_CONTEXTMENU message. For example, this message is sent when a user right-clicks a dialog box control.
hwndCaller | pszFile | dwData |
---|---|---|
Specifies the window handle of the dialog box control for which you want pop-up help to appear. This is typically the control that has focus. |
Specifies the compiled help (.chm) file, and the text file that contains the pop-up help topics.
By default, the text file is named Cshelp.txt. If Cshelp.txt is located in the root of the compiled help file, then you only need to specify the help file name. If not, you must also specify the relative path. |
Specifies an array of DWORDs containing pairs of dialog box control IDs and help topic IDs. The array must be terminated by zero, as in the following example:
|
HtmlHelp(
hwndCTRL,
"c:\\myHelp.chm::/popups\cshelp.txt",
HH_TP_HELP_CONTEXTMENU,
(DWORD) ids) ;
HH_DISPLAY_TEXT_POPUP
HH_TP_HELP_WM_HELP
About commands | |