CDC::Detach

This member function detaches m_hDC (the output device context) from the CDC object and set both m_hDC and m_hAttribDC to NULL.

Syntax

HDC Detach( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::Attach, CDC::m_hDC, CDC::m_hAttribDC