CWnd::Detach

Switch View :
ScriptFree
Visual Studio 2010 - Visual C++
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

See Also

Reference

Concepts