AHK still thinks window is maximized
Posted: 23 Mar 2018, 15:54
Hello.
My monito's native resolution is 2K and it's the one I am using for almost all my games.
But sometimes there are games which I need to play in a lower fullscreen resolution, ie 1080p.
When I exit those games, the windows which I had already opened before I started the game, appear out of place and smaller. something like this:
I read in the web that this is a common behavior from Windows, they change the desktop resolution when you change the in-game fullscreen resolution and this affects the position of the opened windows.
Now here is the problem with AHK. It still thinks that the windows are maximized and the WinMaximize command wont maximized them. Which is normal since the WinGet minmax command shows that the window is indeed maximized.
My question is how can I fix this? How can I make AHK to realize that the window is not actually maximized in such situations, and force it to maximize and cover the entire monitor as it should be?
My monito's native resolution is 2K and it's the one I am using for almost all my games.
But sometimes there are games which I need to play in a lower fullscreen resolution, ie 1080p.
When I exit those games, the windows which I had already opened before I started the game, appear out of place and smaller. something like this:
I read in the web that this is a common behavior from Windows, they change the desktop resolution when you change the in-game fullscreen resolution and this affects the position of the opened windows.
Now here is the problem with AHK. It still thinks that the windows are maximized and the WinMaximize command wont maximized them. Which is normal since the WinGet minmax command shows that the window is indeed maximized.
My question is how can I fix this? How can I make AHK to realize that the window is not actually maximized in such situations, and force it to maximize and cover the entire monitor as it should be?