Re: TSR capability under Windows
- Posted by petelomax Nov 27, 2014
- 1310 views
Many years ago, I managed to wrap RegisterHotKey in Edita to catch VK_ESCAPE and close help files, and it works really well, and only closes the help file when it has focus, which is exactly what I wanted. However I cannot remember all the details and a quick glance at the source raised a few more questions than answers. Anyway, it clearly is possible. If you have a copy of Edita you might want to look in eaqj.ew, specifically setChmHotKey/closeChm/HotKeyEsc plus wherever those routines are being called from, then again maybe not.
HTH,
Pete
PS I ignored the TSR part, what I am trying to say is that it is possible to write a standard windows application that responds to keystrokes entered while another application has focus.