Original Post
Does anyone know whether it would be faster to write to a virtual window in memory (used for WM_PAINT messages) using a GUI function like Rectangle(blah, blah,...) and then copy it to the screen using BitBlt(), or just using the GUI function
Rectangle() once more but with the screen device context?
(I am hoping the BitBlt() function knows not to draw to a covered window.)
I would think the BitBlt() would have less overhead than the GUI function. I tried just invalidating the region after drawing to the virtual window but sometimes updates came to late and it messed up the display (I am displaying audio data in real time).
Brian Reinhold