4/28/11

[VB.NET][SNP] Disable Taskbar

 Dim intReturn As Integer = FindWindow("Shell_traywnd", "")  
     SetWindowPos(intReturn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)  


And to enable it:
change SWP_HIDEWINDOW to SWP_SHOWWINDOW

No comments: