Click to return to the HTML Help home page    
HH_DISPLAY_TOC     HH_GET_LAST_ERROR     HTML Help API Reference    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

HH_DISPLAY_TOPIC Command


Microsoft Corporation

Updated June 10, 1999

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.


pszFile dwData
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.

Comments

See Also

HH_HELP_CONTEXT


link to overview topic About commands
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.