[Mono-winforms-list] MouseMove event raising is slow ?
Tue, 04 Jan 2005 21:39:28 +1100
I suspect this is from the Application.DoEvents () I call which is
every time the mouse moves. I think this might be causing it.
On Tue, 2005-01-04 at 21:30 +1100, John BouAntoun wrote:
> Hi guys,
> I made some changes to my month calendar control, so that multiple date
> selection (like text selection) is done using the mouse move event
> instead of the timer approach i had previously.
> 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
> 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 ??
> Mono-winforms-list maillist - Monoemail@example.com