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
posted @ 2017-03-17 09:24  idlewith  阅读(356)  评论(0编辑  收藏  举报