I need to resize a window larger than screen resolution or size of desktop, programmatically & preferably also manually.
Since MS-Windows XP/Vista disallows a wi
I needed to push part of a window off the top of the screen and I was fnally able to do it using this AutoHotKey script:
SetTitleMatchMode, 2
WinTitle := "Visual Studio Code"
; --- WinMove version
; WinMove, %WinTitle%, , 0, -64, 1280, 1504
; -- DLL version
WinGet, id, , %WinTitle%
Result := DllCall("SetWindowPos", "uint", id, "uint", HWND_TOP, "Int", 0, "Int", -64, "Int", 1280, "Int", 1504, "UInt", 0x400)
(I wanted to maximize the editor area of VSCode by completely hiding the title bar and the tabs section, that are not configurable in the program itself.)