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

Setting Focus back to calling window

New Here ,
Nov 30, 2008 Nov 30, 2008

Copy link to clipboard

Copied

Hi,
Please suggest me some solution for following issue.

I created CHM file using RoboHelp 7.02 version. I could lauch this CHM file from my C# application, after closing the CHM file the focus is not set back to the C# application window. I tried similar procedure with the file created using Micorsoft HTML Help SDK, this scenario is working correctly.
Is there any setup that we should do in RoboHelp Project, such that the focus could be set the calling application window.

Thanks in advance.

With regards,
Rajeshrv.

Views

2.6K

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
Enthusiast ,
Dec 01, 2008 Dec 01, 2008

Copy link to clipboard

Copied

Hi, Rajeshrv, and welcome to the forums,

This problem appears to be related to the ehlpdhtm.js script file, which RoboHelp commonly compiles into an HTML Help file. See these threads for more information:

After closing Help file, app does not regain focus
Losing focus upon exiting .chm file

Pete

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
New Here ,
Dec 02, 2008 Dec 02, 2008

Copy link to clipboard

Copied

Hi Pete,
Thank you for your timely help, let me try the suggestions provided in the links, and get back to you.

With regards,
Rajeshrv.

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
New Here ,
Dec 02, 2008 Dec 02, 2008

Copy link to clipboard

Copied

LATEST
Hi Pete,
I commented the lines between
//Begin to support previous HHActiveX invoking
...
//End to support previous HHActiveX invoking

in the file ehlpdhtm.js and it worked. Thank you very much for your help.

Thank you,
With regards,
Rajeshrv.

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