Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A device-context class derived from CDC.
class CPaintDC : public CDC
Members
Public Constructors
Name |
Description |
|---|---|
Constructs a CPaintDC connected to the specified CWnd. |
Public Data Members
Name |
Description |
|---|---|
Contains the PAINTSTRUCT used to paint the client area. |
Protected Data Members
Name |
Description |
|---|---|
The HWND to which this CPaintDC object is attached. |
Remarks
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.
Inheritance Hierarchy
CPaintDC
Requirements
Header: afxwin.h