Hi, Kim,
If I'm reading that API call correctly, it is using the
HH_DISPLAY_TOPIC command to display the topic specified with the
second parameter (tid.fullURL) in the default help window. Unlike
some of the other HTML Help API commands, this command doesn't
specify which of the navigation pane tabs to bring to the front, so
the most recently-used one should always be displayed at start-up.
If you switch from the Search tab to the Contents tab, close the
help file and then retry the help call, is it the case that the
Search tab is brought back to the front?
The developers are using the Unicode version of the HTML Help
API rather than the default ANSI version. Maybe that's a factor?
Pete