INFO: BeginPaint() Invalid Rectangle in Client Coordinates (19963)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q19963

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbinfo kbWndw KB19963