nanogui: Micorwindows (Win32) and flickering
Subject:
Re: [nanogui] Micorwindows (Win32) and flickering
From:
"Greg Haerr" ####@####.####
Date:
6 May 2004 01:19:09 +0100
Message-Id: <008c01c432fe$e3a463e0$3aba46a6@xmission.com>
> I create a compatible DC, create a compatible bitmap, select the bitmap into the compatible dc, then do all my drawing
on the compatible dc. I then bitblt the entire compatible dc to the screen dc.
Perhaps the background is being erased before each bitblit? Do you
have a "case WM_ERASEBKGND: return TRUE;" in the window
proc to turn off the erase?
Another reason might be that the blitting is slow? I'd need to see the code a
bit more to understand the problem better.
Regards,
Greg