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.
void SetOwner( CWnd* pOwnerWnd );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetOwner, CToolBar