Minimizing, maximizing exe's [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
开发者_如何学编程 Improve this questionHow do I maximize, minimize, check whether the program is minimized ?
Flip through the win32gui module (part of the PyWin32 extensions). Most of the functions in it are fairly thin wrappers of standard Windows API calls.
If you want to blindly control something, this question.
Checking if your target program is maximized/fullscreen could likely be accomplished by win32gui.
GetForegroundWindow()
and checking that handle.
精彩评论