Copy link to clipboard
Copied
This works:
RoboHelp_CSH.RH_ShowHelp(0, "C:\\RoboHelp\\!SSL!\\WebHelp\\XHelp_File.htm", RoboHelp_CSH.HH_HELP_CONTEXT, 2);
This doesn't
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?
Copy link to clipboard
Copied
Hi there
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 RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95! |
Copy link to clipboard
Copied
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.