Re: hhctrl.ocx, hh.exe and Ctrl/F
Trevor
Appologies for coming in so late in this discussion thread.
(you may have seen the Delphi HH code on my site - but I don't
think I ever bothered with HH_PRETRANSLATEMESSAGE)
my 2c... If all you want to do is embed a CHM Help Topic in
your application (with no TOC etc) then simply embed TBrowser (IE6)
instead and navigate to the CHM topic. Very simply and may fix your problem.
Rob
PS. Sorry didn't read the entire thread (cause its kids bed time and time is
limited)
--
Rob Chandler
MS Help MVP
http://Helpware.net
http://mshelpwiki.com
<trevors_decoy@hotmail.com> wrote in message
news:1153709220.629685.62200@b28g2000cwb.googlegroups.com...
My latest experiments indicate:
Callig HH_INITIALIZE causes hhctrl.ocx to run in the application's main
thread. Therefore, my problem *could* be caused by the Delphi app's
main WndProc loop doing something that prevents the htmlhelp window
from seeing the Ctrl/F.
Update - by hooking into the app's main windows message loop, and
calling HH_PRETRANSLATEMESSAGE, I am able to achive the correct
behaviour.
It's a pain to have to do this, but it's what MSDN suggests, and it
does solve the problem.