utils.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:autoops_for_win 作者: qiueer 项目源码 文件源码
def GetComponent(cls, parent_whd=0, win_title=None, comp_cls_name=None, is_foreground=True):
        """
        FindWindowEx? ???????????
        ?????????? GetComponent(u"??", parent_whd=whd)
        ?????????? GetComponent(comp_cls_name=u"Label", parent_whd=whd), ??Label???????????spy++???????????
        """
        whd=win32gui.FindWindowEx(parent_whd, None, comp_cls_name, win_title)
        if whd and is_foreground == True:
            cls.SetAsForegroundWindow(whd)
        return whd
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号