Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CWindowDC Class

Derived from CDC.

class CWindowDC : public CDC

Name

Description

CWindowDC::CWindowDC

Constructs a CWindowDC object.

Name

Description

CWindowDC::m_hWnd

The HWND to which this CWindowDC is attached.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.