Compartilhar via


CDC::ReleaseOutputDC

Call this member function to set the m_hDC member to NULL.

virtual void ReleaseOutputDC( );

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetAttribDC

CDC::SetOutputDC

CDC::ReleaseAttribDC

CDC::m_hDC