Condividi tramite


CWindowDC Class

Derived from CDC.

class CWindowDC : public CDC

Remarks

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.

Requirements

Header: afxwin.h

See Also

Concepts

CWindowDC Members

CDC Class

Hierarchy Chart

CDC Class