INFO: BeginPaint() Invalid Rectangle in Client Coordinates

ID: Q19963


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK)
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


SUMMARY

The BeginPaint() function returns a pointer to a PAINTSTRUCT data structure through its second parameter. The rcPaint field of this structure specifies the update rectangle in client-area coordinates (relative to the upper-left corner of the window client area).

This update rectangle also serves as the clipping area for painting in the window, unless the invalid area of the window is expanded using the InvalidateRect() function.

Additional query words:

Keywords : kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS kbWndw
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: February 1, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.