Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.