PyCWnd.GetParentOwner

PyCWnd = GetParentOwner()

Returns the child window's parent window or owner window.

MFC References

CWnd::GetParentOwner

Return Value

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