Apply some window effects like mica
micaalt
acrylic
to the Win32 Applications.
Can also change the window's titlebar color, border type and so on. (Windows 11 only)
pip install win32material --user
How to get the hwnd of the window?
from ctypes import windll, c_char_p
hwnd = windll.user32.FindWindowW(c_char_p(None), "{Your window name}")
from win32material import ApplyMica, ApplyAcrylic
# ApplyMica(hwnd, theme, micaalt)
# ApplyAcrylic(hwnd, extend)
ChangeTitlebarColor(hwnd, "#111111")
ChangeBorderColor(hwnd, "#114514")
ChangeTitleColor(hwnd, "#745616")
SetBorderType(hwnd, BORDERTYPE.RECTANGULAR)
SetBorderType(hwnd, BORDERTYPE.ROUND)
SetBorderType(hwnd, BORDERTYPE.SMALLROUND)
Get the idea of applying mica from https://github.com/marticliment/win32mica/ And some other ideas from https://github.com/Akascape/py-win-styles