Re: Keyboard and Mouse Hook
Thank you for your submission.
Per this CodeBank policy, I have edited your attachment and removed all compiled code.
We welcome and appreciate all entries into our Codebank, but ask that source code only be included with anything attached.
Thank you.
Re: Keyboard and Mouse Hook
Hack,
Sorry I forgot to remove the compiled DLL. :mad:
Will be more careful next time. :)
Re: Keyboard and Mouse Hook
Very useful. Clean code too. :D
Which version(s) of Windows have you tested this on? It works on XP and I will probably test it on 98 soon.
Re: Keyboard and Mouse Hook
Hm, noticed something. If I show characters being typed using Chr$(KeyCode) it shows them as all capitals. :confused:
Re: Keyboard and Mouse Hook
Thanks for trying it out.
It works with all versions of Windows from 9x to 2003.
Not tested on 2008 though.
It is case insesitive to shift key.
You will have to check for shift key status to know as to which of the shift keys (ctrl/shift/alt) are pressed.
I will post sample soon for better understanding.
Regards,
Yogi Yang