RoboHelp_CSH.RH_ShowHelp(0, "C:\\RoboHelp\\!SSL!\\WebHelp\\XHelp_File.htm", RoboHelp_CSH.HH_HELP_CONTEXT, 2);
RoboHelp_CSH.RH_ShowHelp(0, "C:\\RoboHelp\\!SSL!\\Microsoft_HTML_Help\\XHelp_File.chm", RoboHelp_CSH.HH_HELP_CONTEXT, 1);
Why does the context sensitve calls of a chm file not work?
Does it require a different map file?
I believe the actual call is different.
Here is a copy/paste from an older RoboHelp HTML CHM file that we might use as an example:
HWND HtmlHelp(Window(), “c:\path\helpfile.chm”, HH_HELP_CONTEXT, Number);
HWND HtmlHelp (Window(), “c:\path\helpfile.chm”, HH_DISPLAY_TOPIC, "topicfile.htm");
Hopefully that helps.,. Rick
Helpful and Handy Links
Thanks, Rick, but I am calling it from within Java and in the RoboHelp_CSH.java there is no HtmlHelp() method.
I also tried the JavaHelp layout solution and can't get it to open either.
I would use the Webhelp solution but I don't like that it opens a new browser window each time the RH_ShowHelp is called and I am trying to verify if that also happens with the other types of help files.