Window Hooks

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#.
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top