PyCWnd.GetParent

PyCWnd = GetParent()

Returns the window's parent.

MFC References

CWnd::GetParent

Return Value

The result is a PyCWnd object, or None if no Window can be found.