锁定或禁用调整任务栏自动热键的大小

Lock or disable resizing of task bar autohotkey

正如标题所说,有没有办法通过 AHK 脚本锁定或禁用调整任务栏的大小?不使用鼠标命令?

F1::
PostMessage, 0x111, 424, 0,, ahk_class Shell_TrayWnd
return

https://autohotkey.com/docs/commands/PostMessage.htm

0x111WM_COMMAND424 为消息编号

http://www.codeproject.com/Articles/14380/Manipulating-The-Windows-Taskbar