Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CWindowDC Class
Collapse the table of content
Expand the table of content

CWindowDC Class

Derived from CDC.

class CWindowDC : public CDC

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

Community Additions

© 2015 Microsoft