Animation with GDI+/C++?

Started by
2 comments, last by Eyrian 19 years, 11 months ago
Does anyone know how I can do double buffering/redrawing with GDI+? I''ve looked pretty hard, but I can''t seem to find much on the subject. I am using unmanaged C++, and some relatively functional example code would be great. Thanks, Eyrian
Advertisement
You could just create two bitmaps in memory via CreateCompatibleBitmap() to use as buffers and then blit from one to the other and then to the primary surface (or the DC of the window).


I know only that which I know, but I do not know what I know.

[edited by - Daishi on May 9, 2004 12:17:04 AM]

I know only that which I know, but I do not know what I know.
I''ve got some code of it probably lying around since that is what I used to do for a single buffer, but modifying it for a double buffer shouldn''t be much more at all.


I know only that which I know, but I do not know what I know.

I know only that which I know, but I do not know what I know.
Hi Eyrian,

This website may be of some help for you.

[edited by - _Twiggie_ on May 10, 2004 3:56:49 PM]

This topic is closed to new replies.

Advertisement