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


CPaintDC Class

A device-context class derived from CDC.

class CPaintDC : public CDC

Заметки

It performs a CWnd::BeginPaint at construction time and CWnd::EndPaint at destruction time.

A CPaintDC object can only be used when responding to a WM_PAINT message, usually in your OnPaint message-handler member function.

For more information on using CPaintDC, see Device Contexts.

Требования

Header: afxwin.h

См. также

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

MDI Sample: Demonstrates MDI Without Using Doc/View Architecture

CPaintDC Members

CDC Class

Hierarchy Chart