次の方法で共有


HH_HELP_CONTEXT command

Displays a help topic based on a mapped topic ID.

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 the compiled help (.chm) file that contains the mapping information. To specify a defined window type, insert a greater-than (>) character followed by the name of the window type.
Specifies the numeric ID of the topic to display. You must map symbolic IDs of dialog boxes to numeric IDs in the [MAP] section of your project (.hhp) file.

Example

HtmlHelp(
          GetDesktopWindow(),
          "help.chm",
          HH_HELP_CONTEXT,
          5000) ;

Remarks

  • A default help window contains only the Topic pane and is not a three-pane Help Viewer.

About Commands

HH_DISPLAY_TOPIC