Do you redraw with Refresh? That will flash under OS 9 as you have
seen. What you do instead is draw everything to a picture and then draw
the picture to the screen. And you don't want to use Refresh at all.
You need a separate Draw method that draws the picture. The picture
itself will most likely be a property of your Canvas subclass. You call
your Draw method in the Paint event and you also call it when you want
to redraw the Canvas at other times.
On Sunday, March 30, 2003, at 02:33 PM, Martin Fitzgibbons wrote:
This is not noticeable in OSX but in Win and PPC it produces an
annoying screen flash.
How do I go about reducing this?
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|