[Mono-winforms-list] MouseMove event raising is slow ?

Miguel de Icaza miguel@ximian.com
Wed, 05 Jan 2005 10:26:01 -0500


Hello,

> Previously I was using a 10ms timer to detect the mouse's position to
> see if it had selected any new controls, however i have since changed it
> to only check the mouse selection on mouse move (if the mouse is
> clicked).
> 
> The control works the same, except now it updates the selection much
> slower than when I had the 10ms timer running.
> 
> Should I:
> 
> a) check in my changes so someone else can test it
> b) revert back to the 10ms timer for selection
> c) something else ??

My suggestion would be to check-in the new code, since using the
mouse-move event as opposed to a timer that checks the mouse position is
the right thing to do.

Then we can focus on finding and fixing the source of the slowness.

Miguel