How do I lock the window size?
-
hanshuchen
- Posts: 13
- Joined: 26 Feb 2019 01:41
How do I lock the window size?
How do I lock the window size?Disable window resizing。
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How do I lock the window size?
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...
viewtopic.php?p=120828#p120828
Apart from that: AutoHotkey and script it...
One of my scripts helped you out? Please donate via Paypal
-
hanshuchen
- Posts: 13
- Joined: 26 Feb 2019 01:41
Re: How do I lock the window size?
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...
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How do I lock the window size?
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>);
One of my scripts helped you out? Please donate via Paypal
-
hanshuchen
- Posts: 13
- Joined: 26 Feb 2019 01:41
Re: How do I lock the window size?
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>);
XYplorer Beta Club