Results 1 to 4 of 4

Thread: [RESOLVED] hook question

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2009
    Posts
    489

    Resolved [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.
    Last edited by whatsup; Nov 19th, 2009 at 03:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width