Animation in VC
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I want to do some animation like flash type.. Something moving in the device context area. If I use OnDraw there is a lot of flickering. How can I produce smooth animation in my application. :eek: :omg: :((
You have to use a offscreen bitmap (a memory dc) write to that and them just blit it to screen. Search Codeproject for double buffer or memory dc. For example look at this cp section, [Device Contexts](http://www.codeproject.com/gdi/#Device Contexts) ---- Rui Lopes