How do I lock the window size?
Posted: 09 Apr 2022 10:06
How do I lock the window size?Disable window resizing。
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
ok..highend wrote: ↑09 Apr 2022 10:24 You can't but you are free to use a custom event action (that fires often) to automatically correct it
viewtopic.php?p=120828#p120828
Apart from that: AutoHotkey and script it...
Code: Select all
#NoTrayIcon
hWnd := A_Args[1]
if (hWnd)
WinSet, Style, ^0x40000, % "ahk_id" hWnd
Code: Select all
run lax("D:\Tools\XYplorer\@Scripts\Toggle window resizing.exe" <hwnd>);
thank youhighend wrote: ↑09 Apr 2022 10:41Compile that and then you could switch window resizing on / off by calling the .exe (adapt the path^^) withCode: Select all
#NoTrayIcon hWnd := A_Args[1] if (hWnd) WinSet, Style, ^0x40000, % "ahk_id" hWnd
Code: Select all
run lax("D:\Tools\XYplorer\@Scripts\Toggle window resizing.exe" <hwnd>);