Handling

Handling

Post by TW91c3RhZm » Thu, 30 Sep 2004 16:01:02


How can i handle the Application.MouseMove event
 
 
 

Handling

Post by Jon Skeet » Thu, 30 Sep 2004 16:24:13


Do you mean Control.MouseMove? Application doesn't have a MouseMove
event as far as I can see.

You handle Control.MouseMove the same way you do other events - add a
handler to it:

myControl.MouseMove += new MouseEventHandler (MyHandler);

--
Jon Skeet - < XXXX@XXXXX.COM >
http://www.yqcomputer.com/ ~skeet
If replying to the group, please do not mail me too