Masquer la barre des taches de Windows

Peut-on manipuler en VBA les options et de la barre des tâches de windows ?

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

Auteur :

Mots clefs associés à cette page : ,