show or hide taskbar
Posted: Mon Apr 10, 2006 9:25 am
Code updated for 5.20+
This really helped me, so I hope it helps someone else. It is the code to toggle the status of the windows (XP) taskbar (SHOW or HIDE):
This really helped me, so I hope it helps someone else. It is the code to toggle the status of the windows (XP) taskbar (SHOW or HIDE):
Code: Select all
Procedure showtaskbar(tbstate.s)
handleW1 = FindWindow_("Shell_traywnd", "")
If(tbstate="S")
SetWindowPos_(handleW1, 0, 0, 0, 0, 0, #SWP_SHOWWINDOW)
EndIf
If(tbstate="H")
SetWindowPos_(handleW1, 0, 0, 0, 0, 0, #SWP_HIDEWINDOW)
EndIf
EndProcedure
showtaskbar("S")
;showtaskbar("H")