win32gui.GetParent

int = GetParent(child)

Retrieves a handle to the specified child window's parent window.

Parameters

child : int

handle to child window