Need help to show chm-Files?
-
Hello community, i call/open a help-file from my program, this works fine, only one thing i can't resolve: on the help file, if i select a next tab(on the left side), for example tab to search in help content, and close file. Any next start of that file is the last selected tab from previous call. And that is my problem: how to call the help file with selected first tab item, this is how i call a help file:
HWND hwndHelp = ::HtmlHelpW(m_hWnd, csPathToHelpFile, HH_DISPLAY_TOPIC, dwTopic);
Helpfile is opened, the right topic is shown, but the tab who is selected is the last one of the previous call, how to set the selected Tab to first index? I found this in "HtmlHelp.h": HH_DISPLAY_CONTENT, is this a key to show first tab with topics? Thanks in advance bosfan