programming.nbk: Home | Index | Next Page: Painting on a Device Context | Previous Page: Painting


 Painting a window

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.


programming.nbk: Home | Index | Next Page: Painting on a Device Context | Previous Page: Painting


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time