Visual Studio 2010 - Visual C++
CDC::SetAttribDC
Call this function to set the attribute device context, m_hAttribDC.
virtual void SetAttribDC( HDC hDC );
Parameters
Remarks
This member function does not attach the device context to the CDC object. Only the output device context is attached to a CDC object.
Requirements
Header: afxwin.h
See Also