Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Detaches a Windows handle from a CWnd object and returns the handle.

HWND Detach( );

A HWND to the Windows object.

See the example for CWnd::Attach.

Header: afxwin.h

© 2015 Microsoft