Canvas redraw... (Real Studio network user group Mailinglist archive)
|RE: official stance on Windows compatibility and is it worth it? - Triola, Marc|
|Canvas redraw... - Ray Giarratana|
|Date: 01.08.03 03:14 (Thu, 31 Jul 2003 19:14:16 -0700)|
|From: Ray Giarratana|
I'm having an odd problem.
I have a subclass of a canvas that is essentially a grid of rectangles with
text in them. All in one canvas. The user can use the arrow keys to move the
selection to a different cell, or use the mouse to click on a different
The problem is, that the redraw speed in the keydown event is way faster
than the redraw speed in the mousedown event...and they use the same draw
routine. The paint event is not used here. The new selected cell and the old
cell are the only ones redrawn. Basically, when a cell is clicked on,
there's a very noticeable delay before it gets redrawn. Sometimes, it's very
significant and a watch cursor pops on for a second.
What's going on? Is there something else happening during a mousedown?
BTW, same results in 4.5.2 and 5.2.
"The difference between a lot of drums
as opposed to a few drums
is just the amount of drums."
- Steve Gadd
A searchable archive of this list is available at:
Unsubscribe or switch delivery mode: