Place any window exactly
Quick halves, ×4 ×6 ×8 ×10 split cells, aspect presets or typed X Y W H, drawn on a to-scale preview of your monitor.
Windows 10 1903+ · Win32 + DWM · MIT · open source demo
Resize, place and zoom a game window without touching its render resolution. Nothing is re-rendered: only the window, and a live DWM copy of it, change size.
01 — Zoom
Hold the bind and a live DWM copy of the window is magnified on an overlay. The game is never moved and never told, so it keeps rendering at its own resolution. Scroll while holding to change the factor.
Try it on the window above: press and hold, or hold Z. Scroll to change the factor.
THUMBNAIL
DwmRegisterThumbnail with a source rectangle. The overlay grows; the game window stays exactly where it was.
WINDOW · STRETCH
Move the real window instead, and put it back the moment you let go.
02 — What it does
Quick halves, ×4 ×6 ×8 ×10 split cells, aspect presets or typed X Y W H, drawn on a to-scale preview of your monitor.
Strips the caption and frame and keeps the rendered resolution.
Two copies of the same game are told apart by window handle and process id, and numbered #1 #2 #3.
A key or a mouse side button. The bind only fires while the target is in front, and the key is held back from the game. The master switch and F8 never eat their key.
Pin a window and its layout is re-asserted when the game moves it back on Alt-Tab.
The setup comes back next launch. Named profiles find their windows again by executable, so they survive a restart and a changed title.
03 — How it works
EnumWindows · SetWindowPos · stylesDWMWA_EXTENDED_FRAME_BOUNDSDwmRegisterThumbnail + rcDestinationrcSource set to a regionplannedWindows.Graphics.Capture → D3D11 → HLSLplannedNVIDIA NvAPIplannedCode injection
Kernel driver
Reading another process’s memory
A caution that matters. Some kernel-level anti-cheats object to topmost overlay windows and to another process moving the game window, however it is done. Check your game’s rules before using tlk-grid online.
04 — Roadmap
05 — Get it
or build it
cargo test --workspace
cargo build --release
The feature set and interaction model are modelled on WinGrid by Zhazira, where the idea was worked out first. No code, asset or text from it is used here.