Groups | Blog | Home
all groups > c# > january 2005 >

c# : capture the mouse


maxvizel NO[at]SPAM bezeqint-dot-net.no-spam.invalid
1/10/2005 3:54:39 PM
What do you mean by other control? Can't you use th OnMouseMove event
of the control? Do you want to use hooks in order to capture the
mouse cooridinates?

*-----------------------*
Posted at:
www.GroupSrv.com
Dave
1/10/2005 10:46:43 PM
Hi,

How can i capture the mouse move event of my window form when i move it
ebove other control?
Thanks!

Peter Bromberg [MVP]
1/19/2005 12:45:48 PM
George Mamaladze has a nice article on global hooks for this here:

http://www.codeproject.com/csharp/globalhook.asp


--Peter

[quoted text, click to view]

Ludovic SOEUR
2/9/2005 9:53:37 AM
if your Window form is called myForm, type in Load event for example :
myForm.Capture=true;

Then, you only have to catch MouseMove event.

Hope it helps.
Ludovic Soeur.




"Dave" <dbg@012.net.il> a écrit dans le message de
news:OmdTFV19EHA.1404@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button