RE: Win32 page flipping

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Patrick,

Another source of flicker that I have found is the automatic background 
erase that windows performs prior to WM_PAINT being issued. You can 
prevent this by returning 1 to the WM_ERASEBKGND message for the window 
you are blitting to.  

There is also a good article on flicker-free drawing at:

http://freespace.virgin.net/james.brown7/tuts/flicker.htm

HTH,

Phil 

Patrick.Barnes at transgrid.com.au wrote:
> I have several pages of graphics and text (wPuts'ed) that I wish to 
> switch between without flickering. How do I draw graphics and text into 
> a bitmap, so that I can blit it on to the screen in one go?
> =======================
> Patrick Barnes
> Information Systems Group
> 201 Elizabeth St, Sydney
> Patrick.Barnes at transgrid.com.au
> Ext: 91-3583
> Ph:(02) 9284-3583
> Mob: 0410 751 044
> 
> 
> ***********************************************************************
> 
> 
> ***********************************************************************
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu