Einzelnen Beitrag anzeigen

SneakyBagels
(Gast)

n/a Beiträge
 
#6

AW: Window-Resize von außen unterbinden, intern zulassen

  Alt 8. Mai 2017, 14:04
Mein Autohotkey sieht so aus

Code:
WinMove, A, , 0, 0

ResizeWin(Width = 0, Height = 0)
{
  WinGetPos, X, Y, W, H, A

  If %Width% = 0
    Width := W

  If %Height% = 0
    Height := H

  WinMove, A, , %X%, %Y%, %Width%, %Height%
}

ResizeWin(1400, 1000)
Dokumentation: https://autohotkey.com/docs/commands/WinMove.htm
  Mit Zitat antworten Zitat