Call this member function to set the m_hDC member to NULL.
virtual void ReleaseOutputDC( );
This member function cannot be called when the output device context is attached to the CDC object. Use the Detach member function to detach the output device context.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback