CWnd::Detach
Detaches a Windows handle from a CWnd object and returns the handle.
HWND Detach( );
Return Value
A HWND to the Windows object.
Example
See the example for CWnd::Attach.
Requirements
Header: afxwin.h
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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