【python】窗口操作
设置窗口大小:win32gui.SetWindowPos(handle, None, x, y, width, height, flags)移动窗口:win32gui.MoveWindow(handle, x, y, width, height, repaint)置顶窗口:win32gui.SetForegroundWindow(handle)最大化窗口:win32gui.MaximizeWindow(handle)获取窗口大小:win32gui.GetWindowRect(handle)
原创
2023-10-09 22:13:51 ·
1545 阅读 ·
1 评论