This documentation is archived and is not being maintained.

CWindowDC Class

class CWindowDC : public CDC


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.


Header: afxwin.h

See Also

Class Members | Base Class | Hierarchy Chart | CDC