HH_DISPLAY_TEXT_POPUP command

HTML Help API

HH_DISPLAY_TEXT_POPUP command

Opens a pop-up window that displays the contents of one of the following:

  • An explicit text string.
  • A text string based on a resource ID.
  • A text string ID based on a text file contained in a compiled help (.chm) file.
pszFile dwData

To use an explicit text string:

Specify a NULL value.

To use a text string from a resource:

Specify a NULL value.

To use text string from a text file contained in a compiled help file:

Specify the .chm file and the text file within the .chm file.
Specifies a pointer to an HH_POPUP structure.

Example



HtmlHelp(
hwndCTRL,
NULL,
HH_DISPLAY_TEXT_POPUP,
(DWORD)&popup;) ;

Return value

The handle (hwnd) of the pop-up window.

See also

HH_TP_HELP_CONTEXTMENU
HH_TP_HELP_WM_HELP


link to overview topic About commands