CWnd::SetOwner

Call this member function to set the current window's owner to the specified window object. This owner can then receive command messages from the current window object.

Syntax

void SetOwner( CWnd* pOwnerWnd );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetOwner, CToolBar