double-buffering

WinAPI Double-buffering

A default winAPI application does not have double-buffering. Instead, it does a very, very good job of ensuring that only what needs to be drawn is drawn, and that gives it a seamless appearance. However, when you resize the window, the entire thing needs to be redrawn, and this causes flickering between the controls, the background on t...

Double buffering winAPI

Okay, so in my application, there are a bunch of winAPI and a few custom controls. Yay... Now, normally, they will just quietly redraw themselves for animations, state changing, ect.... and it all works fine. But I have a method of class Window called fix(). This is called whenever the whole window needs to be updated. It resizes the c...