471,594 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

Window Hooks

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

Jan 14 '07 #1
1 1543
>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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jan 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tx | last post: by
reply views Thread by yaktipper | last post: by
8 posts views Thread by Mészáros Tamás | last post: by
1 post views Thread by Max Khitrov | last post: by
2 posts views Thread by Tom Shelton | last post: by
3 posts views Thread by cichy83 | last post: by
reply views Thread by Mythran | last post: by
2 posts views Thread by Lunchtimemama | last post: by
9 posts views Thread by Abhishek | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.