Desktop Grid: a click-through desktop overlay in Python and Qt
I wanted labeled zones drawn on my Windows desktop that never block a click. Qt swallowed input, so I toggled one window style on a 60 ms poll. I also built a feature in 10 commits and reverted it.
In short
- The overlay is a translucent Qt window across the virtual screen, pinned just above the wallpaper, and clicks pass through because a 60 ms poll toggles the WSEXTRANSPARENT window style.
- Desktop icons are read and moved by sending list-view messages to explorer.exe and exchanging data through memory allocated inside that process.
- Icon layouts are saved per display setup, keyed like 2560x1440@1, and restored a moment after the resolution changes.
#python#pyside6#windows#ctypes