hide or decrease taskbar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a method to hide or decrease the taskbar from 2 to 1 line(s)
(autohide?) using a visual basic command?

thanks
roland
 
Hi Roland,
Private Declare Function FindWindowEx& Lib "user32" _
Alias "FindWindowExA" (ByVal hWnd1& _
, ByVal hWnd2&, ByVal lpsz1$, ByVal lpsz2$)
Private Declare Function ShowWindow& Lib "user32" _
(ByVal hwnd&, ByVal nCmdShow&)

Sub TaskBar_Hide()
ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 0
End Sub

Sub TaskBar_Show()
ShowWindow FindWindowEx(0, 0, "Shell_TrayWnd", vbNullString), 5
End Sub

MP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Summing Percentages 3
Autohide Taskbar 2
autohide taskbar questions 2
Hiding an item in the taskbar 1
Taskbar gets stuck. 3
GUI stops working on boot up 5
Rounding 2
Hiding "close window" button on taskbar 3

Back
Top