Using EndPaint() and BeginPaint()Last reviewed: July 22, 1997Article ID: Q10216 |
3.00 3.10
WINDOWS
kbprg
The information in this article applies to:
The PAINTSTRUCT structure contains information for an application that can be used to paint the client area of a window owned by that application. The PAINTSTRUCT data structure is automatically updated by the BeginPaint() function; if a window has been restored, BeginPaint() will update the PAINTSTRUCT fields (for example, fRestore). The application would be duplicating effort if it also updated the fields of the PAINTSTRUCT after a window is restored. The EndPaint() procedure is required after BeginPaint(). The application only needs to be concerned about its own paint procedure that comes between BeginPaint() and EndPaint(). For additional information on the PAINTSTRUCT data structure, see page 7-55 in the "Microsoft Windows Software Development Kit Reference Volume 2" for version 3.0 of the Windows SDK, and page 384 in the "Microsoft Windows Software Development Kit Programmer's Reference, Volume 3: Messages, Structures, and Macros" for version 3.1 of the Windows SDK.
|
Additional reference words: 3.00 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |