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](/previous-versions/windows/desktop/api/HtmlHelp/ns-htmlhelp-taghh_popup) structure.

Example

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

Return Value

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

About Commands

HH_TP_HELP_CONTEXTMENU

HH_TP_HELP_WM_HELP