Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CWnd::EndPaint 

Marks the end of painting in the given window.


void EndPaint(
   LPPAINTSTRUCT lpPaint 
);

Parameters

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.

Community Additions

ADD
Show:
© 2015 Microsoft