Animation with GDI+/C++?
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
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.
[edited by - Daishi on May 9, 2004 12:17:04 AM]
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement