At 12:43 AM -0500 3/31/07, Rubber Chicken Software Co. wrote: >Right now I've isolated the flicker into 3 areas - 1) a >quick-updating time counter in a StaticText that sits on a Canvas, 2) >white flashes when a Clip is visible and invisible, and 3) quivering >Clips when picture has to be updated frequently (100ms or so) to >display a moving Progress line and a "smoky mask" that shows where >the Progress line has travelled.
Overlapping controls are a dangerous thing, especially on Windows. My recommendation is to get rid of the statictext controls and use g.DrawString to draw that text right into the canvas. Or better yet use an offscreen picture to composite the graphics and text together and THEN draw it to the canvas. Alternatively you might consider other things: 1. Make sure the Parenting of any overlapping controls is set correctly. The background control should completely enclose any control that's above it, and the background control should have a lower control order. This gives RB a better idea of which controls need to be updated together. 2. Do you have a tight loop that might prevent the main event loop from running and updating the screen? If so then consider moving that tight loop into a thread and adjust its Priority to give a satisfactory screen update experience. 3. Use Parallels on an Intel Mac to make it look like a Wndows desktop but run your app on OSX anyway. :-) Regards, Joe Huber _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
