Call this member function to obtain a pointer to this window's parent window, if it has one.
CWnd* GetParent( ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
Windows CE version 1.0 doesn't support owned windows, except for dialog boxes.
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetOwner, CWnd::SetParent