Here is the solution to my problem as suggested by Pete lees
in another thread on the same problem:
===============
Pete Lees:
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
=================
I commented out the section Pete mentioned, rebuilt my CHM,
and now it works just fine. I had previously tried Pete's idea of
removing the entire js file from the build, but I must have not
done it correctly, as it had no effect.
thanks, Pete!