CWnd::Attach 

BOOL Attach( HWND hWndNew );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hWndNew

Specifies a handle to a Windows window.

Remarks

Attaches a Windows window to a CWnd object.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::Detach, CWnd::m_hWnd, CWnd::SubclassWindow