Knowledge Base

INFO: BeginPaint() Invalid Rectangle in Client Coordinates

Article ID: 19963

Article Last Modified on 7/11/2005


APPLIES TO


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.

Keywords: kbinfo kbwndw KB19963