Article View: comp.os.ms-windows.programmer.misc
Article #2550Displaying (large) bitmaps without flicker
From: Cameron Bromley
Date: Thu, 07 Jan 1993 14:15
Date: Thu, 07 Jan 1993 14:15
22 lines
1366 bytes
1366 bytes
Hi, I'm doing some simple animation in my app. I have an array of HBITMAPS which are displayed one after the other (on a WM_TIMER) using BitBlt. The problem is, there is a noticable 'flicker' when the bitmaps are re-drawn, although in different spots. It's hard to describe in words, but I'm pretty sure it's because the video retrace is happening right in the middle of the BitBlt. In the bad old days (before Windows) you could query the video card hardware and wait for a re-trace to begin and then update the video ram, the end result being 'flicker free' graphics. Does anybody know the solution under Windows? Thanks, Cam. -- --------------------------------------------------------------- Cameron Bromley Internet: cdb@codex.com.au Codex Software Development Pty. Ltd. Fax +61-3-696-6757 PO Box 293, Albert Park, VIC, 3206 Australia
Technical Details
Message-ID:
<1993Jan7.141531.650@codex.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!rpi!batcomputer!munnari.oz.au!yarrina.connect.com.au!codex!cdbShow Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!rpi!batcomputer!munnari.oz.au!yarrina.connect.com.au!codex!cdb From: cdb@codex.oz.au (Cameron Bromley) Subject: Displaying (large) bitmaps without flicker Message-ID: <1993Jan7.141531.650@codex.oz.au> Sender: cdb@codex.oz.au Organization: Codex Software Development Pty Ltd Date: Thu, 7 Jan 93 14:15:31 GMT Lines: 22