How to open the search tab of chm file using HtmlHelpW?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GayatriPatil
    New Member
    • Apr 2010
    • 8

    How to open the search tab of chm file using HtmlHelpW?

    I could open 'Contents' and 'Index' tab of the chm file using HtmlHelpW. The 'Search' tab however cannot be opened using the same.Please guide how to open the Search tab.
  • Samuel Jones
    New Member
    • Jan 2011
    • 48

    #2
    Im not 100% sure if this relates, but there is a 'HelpNavigator. Find' command in c# that can be used to open a help file such as in
    Code:
    Help.ShowHelp(parent, url, navigator);
    //Parent = owner of help screen (usually 'this')
    //URL = Path and Name of help file
    //Navigator = Which part of help viewer to open (ie. HelpNavigator.Find)

    Comment

    • GayatriPatil
      New Member
      • Apr 2010
      • 8

      #3
      Thanks Samuel. But this is not what I want. The HelpNavigator opens the chm file in the same process. I need to open my chm file as a seperate process ,so that even if my application is closed,the chm file remains open. This is achieved by using the API but I am unable to open the 'Find' tab.

      Comment

      • Samuel Jones
        New Member
        • Jan 2011
        • 48

        #4
        Very well then...

        If you are using commands similar to HH_DISPLAY_TOC and HH_DISPLAY_INDE X, the search tab is linked to HH_DISPLAY_SEAR CH.

        Also you can read this page:


        Which gives more information than i can. (Look near the bottom.)

        Sam

        Comment

        Working...