This documentation is archived and is not being maintained.

CClientDC Class

Takes care of calling the Windows functions GetDC at construction time and ReleaseDC at destruction time.

class CClientDC : public CDC

Name

Description

CClientDC::CClientDC

Constructs a CClientDC object connected to the CWnd.

Name

Description

CClientDC::m_hWnd

The HWND of the window for which this CClientDC is valid.

This means that the device context associated with a CClientDC object is the client area of a window.

For more information on CClientDC, see Device Contexts.

Header: afxwin.h

Show: