CWnd::GetParent

Call this member function to obtain a pointer to this window's parent window, if it has one.

Syntax

CWnd* GetParent( ) const;

At a Glance

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

Remarks

Windows CE version 1.0 doesn't support owned windows, except for dialog boxes.

See Also

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