Taskbar Messages

Here are some window messages that you can send to the taskbar and can prove handy at times. You can use this in VDS versions above 3 which have ability to send messages.

I have tested them on Win XP Pro. In windows 9x there may be change in some numbers and some functions may not be available e.g. Lock Taskbar. Alternatives I know are posted for convenience check which one works best for you.

Use them at your own risk

 Taskbar Properties
 %A = @SENDMSG (#Shell_TrayWnd,$111,413,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65949,0)
 
 Date Time Properties
 %A = @SENDMSG (#Shell_TrayWnd,$111,408,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65944,0)
 
 Tile Windows
 %A = @SENDMSG (#Shell_TrayWnd,$111,405,0)
 
 Tile Windows Horizontally
 %A = @SENDMSG (#Shell_TrayWnd,$111,65940,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65941,0)
 
 Cascade Windows
 %A = @SENDMSG (#Shell_TrayWnd,$111,403,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65939,0)
 
 Logoff Screen
 %A = @SENDMSG (#Shell_TrayWnd,$111,402,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,5000,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65938,0)
 
 Open Run
 %A = @SENDMSG (#Shell_TrayWnd,$111,401,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65937,0)
 
 Open Start Menu
 %A = @SENDMSG (#Shell_TrayWnd,$111,305,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65841,0)
 
 Open Task Manager
 %A = @SENDMSG (#Shell_TrayWnd,$111,420,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65956,0)
 
 Taskbar And Start Menu Properties -> Customize  Notifications
 %A = @SENDMSG (#Shell_TrayWnd,$111,421,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65957,0)
 
 Lock Unlock The Taskbar
 %A = @SENDMSG (#Shell_TrayWnd,$111,424,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,65960,0)
 
 Help And Support
 %A = @SENDMSG (#Shell_TrayWnd,$111,503,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,66039,0)
 
 Open Control Panel
 %A = @SENDMSG (#Shell_TrayWnd,$111,505,0)
 
 Turn Off Computer Dialog
 %A = @SENDMSG (#Shell_TrayWnd,$111,506,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,66042,0)
 
 Open Printers And Faxes
 %A = @SENDMSG (#Shell_TrayWnd,$111,510,0)
 %A = @SENDMSG (#Shell_TrayWnd,$111,66046,0)
 
 Minimize All Windows
 %A = @SENDMSG(#Shell_TrayWnd,$111,419,0)
 
 Undo Minimize All Windows
 %A = @SENDMSG(#Shell_TrayWnd,$111,416,0)
 


If you have any suggestions mail me at codescript2002@yahoo.com

Enjoy !