Hany Pharmacy
Hany Pharmacy

Reputation: 11

Lock or disable resizing of task bar autohotkey

As the title says, is there a way to lock or disbale resizing of taskbar through AHK scripting? without using mouse commands?

Upvotes: 0

Views: 169

Answers (1)

Bob
Bob

Reputation: 431

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

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

0x111 being WM_COMMAND with 424 being the message number

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

Upvotes: 1

Related Questions