Archived

This topic is now archived and is closed to further replies.

JIMbond21

Windows programming

Recommended Posts

By buffer I assume you mean a memory DC created using CreateCompatibleDC(the_dc_you_will_ultimately_draw_to) which has selected into it a bitmap compatible (possibly created using CreateCompatibleBitmap()) with the bitmap in the DC you will ultimately draw to.

If this is the case, you draw to the memory DC as if you were drawing to the DC that you will ultimately draw to and then draw that memory DC to the DC that you will ultimately draw to.

See "Double Buffering"



Qui fut tout, et qui ne fut rien
Invader''s Realm

Share this post


Link to post
Share on other sites