home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4688 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!rpi!batcomputer!munnari.oz.au!yarrina.connect.com.au!codex!cdb
  3. From: cdb@codex.oz.au (Cameron Bromley)
  4. Subject: Displaying (large) bitmaps without flicker
  5. Message-ID: <1993Jan7.141531.650@codex.oz.au>
  6. Sender: cdb@codex.oz.au
  7. Organization: Codex Software Development Pty Ltd
  8. Date: Thu, 7 Jan 93 14:15:31 GMT
  9. Lines: 22
  10.  
  11. Hi,
  12.  
  13. I'm doing some simple animation in my app.  I have an array of HBITMAPS which  
  14. are displayed one after the other (on a WM_TIMER) using BitBlt.  The problem  
  15. is, there is a noticable 'flicker' when the bitmaps are re-drawn, although in  
  16. different spots.  It's hard to describe in words, but I'm pretty sure it's  
  17. because the video retrace is happening right in the middle of the BitBlt.
  18.  
  19. In the bad old days (before Windows) you could query the video card hardware  
  20. and wait for a re-trace to begin and then update the video ram, the end result  
  21. being 'flicker free' graphics. 
  22.  
  23. Does anybody know the solution under Windows?
  24.  
  25. Thanks,
  26.  
  27. Cam.
  28. -- 
  29. ---------------------------------------------------------------
  30. Cameron Bromley                      Internet: cdb@codex.com.au
  31. Codex Software Development Pty. Ltd. Fax +61-3-696-6757
  32. PO Box 293, Albert Park, VIC, 3206   Australia                 
  33.