Results 1 to 2 of 2

Thread: window hook

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    837

    window hook

    how do i set a hook on a specific window once i know its handle?
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  2. #2
    Zaei
    Guest
    Use SetWindowsHookEx, using the WH_CALLWNDPROC, or WH_CALLWNDPROCRET flags. Then, when it calls your callback, check to see what window that message is going to (the hWnd param), and if they match, do whatever you want.

    Z.

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