Hi, word wiz,
I think there are two possibilities here.
1) In their context help calls, your developers may not be
passing to your .chm file the "handle" of the window from which
help is called. The consequence of this is that the help file is
not owned by the window, and as a result focus is not returned to
the window when the help file is closed. You can read more about
this here:
http://forums.madcapsoftware.com/viewtopic.php?f=8&t=4101
2) There appears to be something slightly wrong with the
ehlpdhtm.js file that is compiled into some (perhaps all?)
RoboHelp-generated .chm files. As far as I can see, the JavaScript
functions that are responsible for the problem are the ones
enclosed by the following two comments in the ehlpdhtm.js file:
//Begin to support previous HHActiveX invoking
...
//End to support previous HHActiveX invoking
These JavaScript functions seem to be responsible for
activating the HHActiveX DLL, which I believe implements RoboHelp
add-in features like browse sequences and Glossary tab in a .chm
file. In any event, if I comment out these functions, a .chm file
that previously failed to return focus to the Windows desktop now
does so. Obviously, though, by disabling these functions I lose the
additional features that the DLL provides.
Pete