Поделиться через


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

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::BeginPaint

EndPaint

CPaintDC Class