When using a HTML help file, you will obviously want to be able to display certain pages or sections. This code shows you how to display a topic in the help file by specifying the context id.
Public Sub HTMLShowTopic(lngTopicID As Long)
' Force the Help window to load a specific topic.
' The Help window will synchronize the
' Contents display automatically
htmlHelpTopic hwnd, SetHTMLHelpStrings(), HH_HELP_CONTEXT, lngTopicID
End Sub
To call it , use this code:
HTMLShowTopic 1000 '// 1000 = Context ID
Comments