SUMMARY:

Does anyone know of a way to prevent flicker in overlapping double buffered canvases during window resize?


DETAIL:

I have a beautiful double buffered canvas that doesn't flicker on Windows even with heavy use of refresh.

However if I layer one canvas on top of another and then draw to the bottom canvas, the top canvas flickers. Additionally, any resizing of the window (with live resize on) will cause the top canvas to flicker. The top canvas also flickers if it is moved across the bottom canvas.

Presumably this is because the bottom canvas refreshes itself thus erasing the top canvas which then redraws itself slightly too late.

With some excruciating hard coding, I'm sure I could work a system to draw the bottom and top together to avoid flicker during my own updating. (Ouch.)

However there doesn't seem to be anything that can be done to trap and code around the flicker during resize of the window. Any ideas out there? The flickering looks a little amateurish. It would be a shame never to be able to overlap canvases which often seem needed to create modern tight, slick, objected-oriented interfaces.


ADDITIONAL NOTES:

EraseBackground is set to false for both canvases.

Works smooth as silk on OS X as you'd expect.

Tried it with Phil M's and Aaron B's handy double buffered canvas classes as well to the same effect.

Happy to share my double buffered class - write me off list.

RB 2006r2 Pro
Compiled from Mac to Windows (using that handy remote debugging.)
Windows XP sp2


Thanks everyone!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to