CDC::ReleaseAttribDC
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