Hi all,
Please help me to create a macro to toggle the windows xp taskbar on and off. That is: make it to auto hide on and off.
Eg hot key can be: pressing Win+C to autohide the taskbar and Win+B to bring back to normal position.
Please help.....
Thanks all....
Autohide the Windows XP taskbar
Started by
Alangar Manickam
, Oct 03 2007 09:54 PM
5 replies to this topic
Vanakkam.
#C::WinHide ahk_class Shell_TrayWnd #B::WinShow ahk_class Shell_TrayWnd
#2
-
Posted 03 October 2007 - 10:00 PM
Please help me to turn off and on the auto hide feature alone for the windows xp taskbar.
#3
-
Posted 04 October 2007 - 07:04 PM
Please help me to turn off and on the auto hide feature alone for the windows xp taskbar.
Please use a nick Manickam!
/* SHAppBarMessage Function : http://msdn2.microsoft.com/en-us/library/ms647647.aspx ABM_SETSTATE Message : http://msdn2.microsoft.com/en-us/library/bb787961.aspx APPBARDATA Structure : http://msdn2.microsoft.com/en-us/library/ms538008.aspx Minimum OS: XP */ ABM_SETSTATE := 10 ABS_NORMAL := 0x0 ABS_AUTOHIDE := 0x1 ABS_ALWAYSONTOP := 0x2 VarSetCapacity( APPBARDATA , 36, 0 ) Off := NumPut( 36, APPBARDATA ) Off := NumPut( WinExist("ahk_class Shell_TrayWnd"), Off+0 ) #F4:: NumPut( ABS_ALWAYSONTOP, Off+24 ) DllCall("Shell32.dll\SHAppBarMessage", UInt,ABM_SETSTATE, UInt,&APPBARDATA ) Return #F5:: NumPut( ABS_AUTOHIDE|ABS_ALWAYSONTOP, Off+24 ) DllCall("Shell32.dll\SHAppBarMessage", UInt,ABM_SETSTATE, UInt,&APPBARDATA ) Return
#4
-
Posted 04 October 2007 - 08:07 PM
skan - i know this is from way back, but its not working for me... specifically i'm also trying to toggle 'alwaysontop' for the taskbar. F5 in the above example isnt doing anything.. any ideas?
(note i'm not trying to hide/unhide the taskbar, but rather i'm trying to toggle alwaysontop).
I'm using winxp, sp3. Also, as far as any combination of winset/winhide/winshow -- they only make the bar invisible, but they dont allow me to maximize windows to full screen. They keep a blank space at the bottom of the screen where the taskbar used to show up. I want to be able to make other windows fullscreen, hence I'm trying to make the taskbar toggle alwaysontop and not just become invisible...
thanks for any help...
(note i'm not trying to hide/unhide the taskbar, but rather i'm trying to toggle alwaysontop).
I'm using winxp, sp3. Also, as far as any combination of winset/winhide/winshow -- they only make the bar invisible, but they dont allow me to maximize windows to full screen. They keep a blank space at the bottom of the screen where the taskbar used to show up. I want to be able to make other windows fullscreen, hence I'm trying to make the taskbar toggle alwaysontop and not just become invisible...
thanks for any help...
#5
-
Posted 16 August 2008 - 06:50 AM