-
[RESOLVED] hook question
I want to filter keyboards events, of other (not mine at all) application,
of course with pure API calls.
so i need a way to install a pointer to my procedure, that executed,
on each keyboard/message event, and after that proceed to that other application
does someone have an example code ?
I tried to use GetWindowLong/SetWindowLong
to install my procedure, but these don't work with other threads handles.
I saw also SetWindowsHookEx that may do that, but i couldn't understand exactly, it seems that i need to pre-install this hook function, in a dll.
-
Re: hook question
There are bunch of hooking samples that you can find here.
-
Re: hook question
This is from moeur, it will allow you to subclass external programs.
-
Re: hook question
thank you very much, both, Guys.
fast valuable help !