When I use the HtmlHelp() function in the Windows API to display my .chm file, the help window appears on a different monitor. I have my application running on the right-hand monitor, and the help window appears on the left monitor.
How can I control where the window appears?
I am using HH_DISPLAY_TOPIC.
HWND hwnd = ::HtmlHelp( wnd, url, HH_DISPLAY_TOPIC, NULL ) ;