• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RoboHelp 8 HTML - context sensitive chm file does not open?

Guest
Dec 21, 2010 Dec 21, 2010

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?

Views

640

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2010 Dec 21, 2010

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:

Programming Help in applications

Window-level Help for Windows applications

To call a topic using a map number, make a call to the HTML Help API using  the following syntax:

HWND  HtmlHelp(Window(), “c:\path\helpfile.chm”, HH_HELP_CONTEXT,  Number);

To call a topic using a file name, make a call to the HTML Help API using  the following syntax:

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!

Adobe Certified RoboHelp HTML Training

SorcererStone Blog

RoboHelp eBooks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 22, 2010 Dec 22, 2010

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp