Поделиться через


CDC::Detach

Call this function to detach m_hDC (the output device context) from the CDC object and set both m_hDC and m_hAttribDC to NULL.

HDC Detach( );

Возвращаемое значение

A Windows device context.

Требования

Header: afxwin.h

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::Attach

CDC::m_hDC

CDC::m_hAttribDC