Home » System & API » How to Hide Taskbar
How to Hide Taskbar
Posted on January 4, 2009
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 'System & API - How to Hide Taskbar Option Explicit Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, _ ByVal lpWindowName As String) As Long Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, _ ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, _ ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long Public Sub HideTaskBar() TaskBarhWnd = FindWindow("Shell_traywnd", "") If TaskBarhWnd <> 0 Then Call SetWindowPos(TaskBarhWnd, 0, 0, 0, 0, 0, SWP_HIDEWINDOW) End If End Sub |
Related posts:
- How to Show Taskbar
- How to Show/Hide your SystemTray
- How to Show/Hide the Start Button from the task bar
- How to handle Size & Position of Console Application with Windows Application in VB6
- How to Hide/Show the Title bar at Run-Time
- Check & Terminate Process using Window Title
- How to bring an external window to top using its caption
- How to Change the visibility of the app in the taskbar at runtime
- How to Change Other Window’s Caption
- How to Show/Hide all Desktop Icons
Enjoy this article?
Filed under: System & API
Leave a comment
Sponsors
Link Back to us
Donations
If you are benefited from this site, please donate a small contribution to us. It will help to maintain this site better.