traversal child window of parent window
def get_child_windows(parent):
if not parent:
return
hwndChildList = []
gui.EnumChildWindows(parent, lambda hwnd, param: param.append(hwnd), hwndChildList)
return hwndChildList
def get_child_windows(parent):
if not parent:
return
hwndChildList = []
gui.EnumChildWindows(parent, lambda hwnd, param: param.append(hwnd), hwndChildList)
return hwndChildList