windows_programming_notes.nbk: Home | Index | Next Page: Painting on a Device Context | Previous Page: Painting
Painting a window is performed when the window's WndProc receives a WM_PAINT message.
The process must start with a call to the BeginPaint function, and must end with a call to the EndPaint function.
If the update region is marked for erasing, BeginPaint sends a WM_ERASEBKGND message to the window.
For more information, see Painting on a Device Context.
windows_programming_notes.nbk: Home | Index | Next Page: Painting on a Device Context | Previous Page: Painting
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time