def app_Move(self,str_app):
#tmp=(string.atoi(lb_dx),string.atoi(lb_dy))
hwnd = win32gui.FindWindow(None, str_app)
if hwnd < 1:
hwnd = self.find_main_window(str_app)
if hwnd>1:
win32gui.MoveWindow(hwnd,0,0,self.wdx,self.wdy,1)
else:
return False
return True
win_GUI.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录