Masquer la barre de tāches de windows :
AppelDLL32("User32", "ShowWindow", AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null), 0)
Afficher la barre de tāches de windows :
AppelDLL32("User32", "ShowWindow", AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null), 1)
Masquer le bouton 'Démarrer' de la barre de tāches :
hwndb est un entier long=AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null)
hwndbt est un entier long=appeldll32("user32","FindWindowExA",hwndb,null,"Button",null)
appeldll32("user32","ShowWindow",hwndbt,0)
Masquer la barre de notification de la barre de tāches :
hwndb est un entier long=AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null)
hwndbt est un entier long=appeldll32("user32","FindWindowExA",hwndb,null,"TrayNotifyWnd",null)
appeldll32("user32","ShowWindow",hwndbt,0)
Masquer l'heure de la barre de tāches :
hwndb est un entier long=AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null)
hwndbt est un entier long=appeldll32("user32","FindWindowExA",hwndb,null,"TrayNotifyWnd",null)
hwndclock est un entier long=appeldll32("user32","FindWindowExA",hwndbt,null,"TrayClockWClass",null)
appeldll32("user32","ShowWindow",hwndclock,0)
Masquer ou afficher la partie de la barre de tāches affichant les programmes en cours :
hwndtray est un entier long=AppelDLL32("User32", "FindWindowA", "Shell_TrayWnd",null)
hwndtraychild est un entier long=appeldll32("user32","FindWindowExA",hwndtray,null,"RebarWindow32",null)
si hwndtraychild alors
hwndtraychild =appeldll32("user32","FindWindowExA",hwndtraychild ,null,"MSTaskSwWclass",null)
si hwndtraychild alors
hwndtraychild =appeldll32("user32","FindWindowExA",hwndtraychild ,null,"SysTabControl32",null)
si appeldll32("user32","IsWindowVisible",hwndtraychild) alors
appeldll32("user32","ShowWindow",hwndtraychild,0)
sinon
appeldll32("user32","ShowWindow",hwndtraychild,1)
fin
fin
fin