This documentation is archived and is not being maintained.

CWnd::Detach

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

Show: