Window Hooks

  • Thread starter Thread starter andyblum
  • Start date Start date
A

andyblum

From my reading it is not possible to create Global Hooks for WIndow
Creation, Destroyed and Moved events in C#. I am just unclear about
the difference between a global and locals hook. Is global anything
that is not part of my application while local is anything that is? I
do know the handle of the windows I want montiored. How can I do this
from C#.
 
I am just unclear about
the difference between a global and locals hook. Is global anything
that is not part of my application while local is anything that is?

A global hook recieves events for all threads, a local hook only for a
specific thread.

I do know the handle of the windows I want montiored.

If it's created on a thread in your application it should be doable.


Mattias
 
Back
Top