Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
The CPaintDC class is a device-context class derived from 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 message, usually in your OnPaint message-handler member function.
For more information on using CPaintDC, see in Visual C++ Programmer’s Guide.
#include <afxwin.h>