CWnd::EndPaint 

void EndPaint( LPPAINTSTRUCT lpPaint );

Parameters

lpPaint

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

Remarks

Marks the end of painting in the given window. 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.

Example

See the example for CWnd::BeginPaint.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::BeginPaint, ::EndPaint, CPaintDC