The CWindowDC class is derived from CDC. It calls the Windows functions GetWindowDC at construction time and ReleaseDC at destruction time. This means that a CWindowDC object accesses the entire screen area of a CWnd (both client and nonclient areas).
For more information on using CWindowDC, see Device Contexts in Visual C++ Programmer’s Guide.
#include <afxwin.h>
Class Members | Base Class | Hierarchy Chart
See Also CDC