On Feb 13, 2006, at 9:51 AM, Dave Addey wrote:

Hi all,

I’m working on a Win32 port of my MachO REALbasic app. My main window is
made up of lots of custom Canvas controls, to make a custom graphic
interface for a piece of music software. And, in the Win32 compile, these
flicker like hell when the window is updated.

I’m being very careful to double-buffer the individual controls when drawing control changes to them. But the problem is the redraw of the window – each control redraws (without flicker) in turn, but because some canvas controls
are on top of others, the combined redraw is very obviously layered and
looks flickery all the same.

Of course, on Mac OS X, the native window double-buffering makes everything
look beautiful, and there’s no problem.

I’ve read various posts here about double-buffering canvases, but not about doing the same for a window full of canvases. It’s made all the worse by the fact that the backmost canvas is used with a scrollbar to scroll the other canvases on a larger-than-the-window space. Is there anything I can
do on Win32 to get rid of the control flicker when the window redraws?

Which is why some folks have resorted to NEVER using ANY actual RB provided controls and completely implemented their own framework. I've seen this done and there is NO flicker, so it is possible but it's a lot of work.


_______________________________________________
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