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 member function to set m_hAttribDC to NULL.

virtual void ReleaseAttribDC( );

This does not cause a Detach to occur. Only the output device context is attached to the CDC object, and only it can be detached.

Header: afxwin.h

© 2015 Microsoft