Answers for "python ctypes maximize window"

1

python ctypes get current window

import ctypes
window = ctypes.windll.user32.GetForegroundWindow()
Posted by: Guest on November-26-2020
0

python ctypes maximize window

import win32gui, win32con

hwnd = win32gui.GetForegroundWindow()
win32gui.ShowWindow(hwnd, win32con.SW_MAXIMIZE)
Posted by: Guest on December-15-2020

Code answers related to "python ctypes maximize window"

Python Answers by Framework

Browse Popular Code Answers by Language