Is there any way to get the height in pixels of a given window's title bar?
Alternately, is there a way to get what percentage Windows is scaled to? (see here: http://bit.ly/2jdCL6L)
My end goal is to resize any window to fill the screen. The script I'm working off of sets the window's style to -0xC40000, which apparently removes the border and title bar, but the title bar stays on Universal apps. Right now I'm moving the window up past the top of the screen the height of the title bar, then resizing it to fill the screen. My Windows is scaled to 250% to fit my display, so 100 pixels works well for the title bar, but I want to be able to change that number depending on the size of the actual title bar.
Get the height of the title bar
- Darth_Diggler
- Posts: 13
- Joined: 21 Dec 2016, 10:07
Re: Get the height of the title bar
Code: Select all
SysGet
There is allot of commands for this function at the address below.
https://autohotkey.com/docs/commands/SysGet.htm
Who is online
Users browsing this forum: Bing [Bot] and 282 guests