Let's say I have a 2d array of COLORREFS that I want to put on the screen. Right now, I am using nested for loops calling SetPixelV whenever I need to display this array to the screen, which works, but I can see the image scan onto the picture. Is there any way for me to just flip my array onto the screen all at once?

07-05-2002

MrWizard

You can try drawing to a pseduo Back Buffer DC first and then blitting that onto your main DC. Just create a compatible DC and you should be set. Remember to delete the DC when you are finished. This might help a little bit.