You shouldn't need to use the API calls to display help stuff. From reading, I thought that you just set your params and let HTML Help fire and do it's thing.
I use a wrapper prg to do the command HELP. From the menu, I call a program - callHelp() - passing in the parameter of the tab, and where I'm calling from.
Then, in the callHelp prg, depending upon which topic I want, I do a set topic to
and then I call help
PROBLEM
This works fine for what I am wanting to use help for. I still a couple of problems.
1) I am having trouble calling a 'bookmark' in a flat html file when clicking on a table of contents entry. It just gives me the page, not the location in the page where the bookmark has been defined. The toc.hhc file defines the links to take when clicking on the table of contents entry. The following is shown in the hhc text file:
<LI> <OBJECT type='text/sitemap'>
<param name='Name' value='Report Library'>
<param name='Local' value='Report Manager\ViRepMHlp.htm#Report Library'>
</OBJECT>
Can I edit this to seek to #Report Library in ViRepMhlp.htm?
2) The other problem is that when I click on the 'Search' option in my application, I want to be able to get to the 'Search' tab on the HTML Help window. You said to use the API calls. Is there an easier, higher level method to getting to the 'Search' tab.
These questions should probably be asked somewheres else due to it having little to do with VFP. They are more of an HTML Workshop question. Any help would be appreciated though.
Thanks.