Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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

HWND Detach( );

Return Value

A HWND to the Windows object.


See the example for CWnd::Attach.

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::Attach

© 2015 Microsoft