Export (0) Print
Expand All
0 out of 6 rated this helpful - Rate this topic

HH_DISPLAY_TOPIC command

Opens a help topic in a specified help window.

If a window type is not specified, a default window type is used. If the window type or default window type is open, the help topic replaces the current topic in the window.

pszFiledwData
Specifies a compiled help (.chm) file, or a specific topic within a compiled help file.

To specify a defined window type, insert a greater-than (>) character followed by the name of the window type.

Specifies NULL or a pointer to a topic within a compiled help file.

 

Example


HWND hwnd =
   HtmlHelp(
             GetDesktopWindow(),
             "c:\\help.chm::/intro.htm>mainwin",
             HH_DISPLAY_TOPIC,
             NULL) ;

Return Value

The handle (hwnd) of the help window.

Remarks

  • For backward compatibility with WinHelp(), HH_DISPLAY_TOPIC and HH_HELP_FINDER provide the same functionality.
  • A default help window contains only the Topic pane and is not a three-pane Help Viewer.

Related topics

About Commands
HH_HELP_CONTEXT

 

 

Send comments about this topic to Microsoft

Build date: 4/14/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.