CWindowDC Class
Derived from CDC.
class CWindowDC : public CDC
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CWindowDC object. |
Protected Data Members
Name |
Description |
---|---|
The HWND to which this CWindowDC is attached. |
Remarks
Calls the Windows function GetWindowDCat 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.
Inheritance Hierarchy
CWindowDC
Requirements
Header: afxwin.h