CWnd::EndPaint
TOC
Collapse the table of content
Expand the table of content

CWnd::EndPaint

Marks the end of painting in the given window.

void EndPaint(
   LPPAINTSTRUCT lpPaint 
);

lpPaint

Points to a PAINTSTRUCT structure that contains the painting information retrieved by the BeginPaint member function.

The EndPaint member function is required for each call to the BeginPaint member function, but only after painting is complete.

If the caret was hidden by the BeginPaint member function, EndPaint restores the caret to the screen.

See the example for CWnd::BeginPaint.

Header: afxwin.h

Community Additions

ADD
Show:
© 2016 Microsoft