Share via


CWnd::Detach

HWNDDetach();

Return Value

A HWND to the Windows object.

Remarks

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

Example

See the example for CWnd::Attach.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::Attach