Catch Mouse Event
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello All I am trying to catch a right button down event for a control before the form sends it to this control; I tried to do that through overriding the WndProc But it fails! Is there any way to do that?
Whats wrong with overriding OnMouseXXX events? There is a nice mechanism called Hooks (Hooks Chain). You can use it to catch mouse, keyboard and probably a few more things. http://msdn2.microsoft.com/en-us/library/ms644959.aspx[^] Good luck
Sincerely yours Y.R.