CClientDC Class
Takes care of calling the Windows functions GetDC at construction time and ReleaseDC at destruction time.
class CClientDC : public CDC
Remarks
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.
Requirements
Header: afxwin.h
See Also
Tasks
MDI Sample: Demonstrates MDI Without Using Doc/View Architecture