FREE VB.NET SOURCE CODE

02 March, 2012

[SNP] Show / Hide Taskbar - Windows XP / 7 [VB.NET]

 Dim intReturn As Integer = FindWindow("Shell_traywnd", "")  
     SetWindowPos(intReturn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)  
This will disable the taskbar.
And to enable it:
change SWP_HIDEWINDOW to SWP_SHOWWINDOW

No comments:

Post a Comment