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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback