Build. Hack. Play. It's just what we do.

An AHK Script To Autohide Any Title Bar

This script is coming along. And it works, for the most part, at least on Win7. What I’m looking for, is someone to help figure out how to retain the Size option. <- While the script is running, Size is grayed out in the control menu. Wondered if I could have some input? Much thanks.

ETA: “Size”, not Resize.

SetTitleMatchMode, 2

Loop {

WinGetTitle, currentWindow, A
IfWinExist %currentWindow%

WinSet, Style, -0x800000 ; hide thin-line border
WinSet, Style, -0x40000 ; hide thickframe/sizebox


Share This Story

Get our newsletter