Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Call this function to set the attribute device context, m_hAttribDC.

virtual void SetAttribDC( 
   HDC hDC  


A Windows device context.

This member function does not attach the device context to the CDC object. Only the output device context is attached to a CDC object.

Header: afxwin.h

© 2015 Microsoft