HH_SYNC command

HTML Help API

HH_SYNC command

Locates and selects the contents entry for the help topic that is open in the Topic pane of the HTML Help Viewer.

pszFile dwData

Specifies the name of the window type that you want to sync and the name of the compiled help (.chm) file in which the window type is defined.

The window type name must begin with a greater-than (>) character and must be preceded by the name of the compiled help file in which it is defined.

Specifies a pointer to a topic within a compiled help file. This value is the topic file to which the contents will synchronize.

Example



HtmlHelp(
hwndCaller,
"..\\MyHelpFile.chm>wintype",
HH_SYNC,
"MyHelpFile.chm::/html\MyTopic.htm") ;

Comments

  • This command requires that you specify a window type.
  • Calling this command is equivalent to clicking the Locate button on the toolbar of the Help Viewer.

link to overview topic About commands