Hi all,
I want to develop a application that logs the keys pressed only when IE
is active(i.e. in focus).The hook must not log any key press when any
windows or applications are in focus.How to do this?
Thanks and regards,
hema

Re: key press logger for IE alone by William

William
Tue Apr 11 16:09:58 CDT 2006

"Hema" <hemapriya3@gmail.com> wrote in message
news:1144732744.754542.240840@t31g2000cwb.googlegroups.com...
> I want to develop a application that logs the keys pressed only when IE
> is active(i.e. in focus).The hook must not log any key press when any
> windows or applications are in focus.How to do this?

You could write something that extends IE for the express purpose of
insinuating your code into the IE process. Google for

"Browser helper object"

for one way.

Once you have a DLL that IE loads, you could plant a thread specific
keyboard hook with SetWindowsHookEx(WH_KEYBOARD...).

Regards,
Will