This member function detaches m_hDC (the output device context) from the CDC object and set both m_hDC and m_hAttribDC to NULL.
HDC Detach( );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::Attach, CDC::m_hDC, CDC::m_hAttribDC