Actually, WM_PAINT is called any time Windows thinks it wants you to repaint your window. So, for example, it might call it when the window is moved or resized, depending on the window class settings. So we don't need to call Win32DisplayBufferInWindow in WM_PAINT for _our_ frame updates, but we do need to call it there if _windows_ wants to repaint the window - say, when the user drags the window around the screen, etc.
- Casey