CWnd::Detach 

HWND Detach( );

Return Value

A HWND to the Windows object.

Remarks

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

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::Attach