Link to home
Start Free TrialLog in
Avatar of MargusLehiste
MargusLehiste

asked on

Is there a class in Framework which u can use to capture all Windows events?

Is there a class in Framework which u can use to capture all Windows events?
ASKER CERTIFIED SOLUTION
Avatar of imu79
imu79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of imu79
imu79

You can also use the NativeWindow class to process all messages. here's an article that will get you going on how to use this class to process window messages:

http://www.vbaccelerator.com/home/NET/Code/Libraries/Windows_Messages/Subclassing_in__NET/article.asp

The difference here is that in this the messages are intercepted only after they've been dispatched to the appropriate window.


Also take a look at this article which I think might help:

http://www.sys-con.com/dotnet/article.cfm?id=482


hope this helps..
Imran.