I am developing a test program for simple animation (some thing like GIF) for that I am using my file format containing one base image having a pixel map of display rectangel (it could be large).

so whenever I starts animation it takes much time to render the pixel on the screen.

I am using the CDC of the window and PutPixell function. What I do that just retrieve the pixel colors in memory after some processing and than by putting nested for loop I am displaying to screen.

I also tried to first write the memory data to some Memory DC and using bitblt function transfer Memory DC to CDC but it is not working may be some error.

Please help me for this....

Thanks in advance...