PAINTSTRUCT

typedef struct tagPAINTSTRUCT { /* ps */

HDC hdc;

BOOL fErase;

RECT rcPaint;

BOOL fRestore;

BOOL fIncUpdate;

BYTE rgbReserved[32];

} PAINTSTRUCT;

The PAINTSTRUCT structure contains information for an application. This information can be used to paint the client area of a window owned by that application.

Members

hdc

Identifies the display context to be used for painting.

fErase

Specifies whether the application should redraw the background. It needs to be redrawn if nonzero.

rcPaint

Specifies a RECT structure that specifies the upper-left and lower-right corners of the rectangle in which the painting is requested. The RECT structure has the following form:

typedef struct tagRECT { /* rc */

LONG left;

LONG top;

LONG right;

LONG bottom;

} RECT;

fRestore

Reserved member. It is used internally by Windows.

fIncUpdate

Reserved member. It is used internally by Windows.

rgbReserved

Reserved member. A reserved block of memory used internally by Windows.

See Also

RECT