PyCWnd.GetTopWindow

PyCWnd = GetTopWindow()

Identifies the top-level child window in a linked list of child windows.

Comments

Searches for the top-level child window that belongs to this window. If this window has no children, this function returns None

MFC References

CWnd::GetTopWindow

Return Value

If no child windows exist, the value is None.