However, if I open a new window (like Notepad), and maximize that, it does fill the new space, but then suddenly all the others do too, even though they didn't before I opened Notepad. So... what the?
My question is (obviously) how can I make sure that all the existing windows respect the new size with making the user open Notepad and maximizing it? Thanks.
Code: Select all
; My desktop is normally 1920 x 1080 size.
With NewDesktopSize.RECT
\left=0
\top=0
\right=1024
\bottom=768
EndWith
SystemParametersInfo_(#SPI_SETWORKAREA,0,NewDesktopSize,0)