Une procédure pratique pour afficher/cacher la barre des taches Windows Code (Text): PROCEDURE BarreTacheWindows(ETAT="") hWnd est un entier système SELON SansEspace(ETAT) CAS "MASQUER" : BarreTacheWindows_ETAT = "MASQUER" // SW_HIDE = 0 // SW_NORMAL = 1 // SW_SHOW = 5 // Masquage de la barre de Tâches hWnd = AppelDLL32("user32", "FindWindowA", "Shell_TrayWnd", Null) // SW_HIDE = 0 AppelDLL32("user32", "ShowWindow", hWnd, 0 ) // Masquage du bouton Démarrer hWnd = AppelDLL32("user32", "FindWindowExA", 0,0, 0xC017, Null) // SW_HIDE = 0 AppelDLL32("user32", "ShowWindow", hWnd, 0 ) CAS "AFFICHER" : BarreTacheWindows_ETAT = "AFFICHER" // SW_HIDE = 0 // SW_NORMAL = 1 // SW_SHOW = 5 // Démasquage de la barre de Tâches hWnd = AppelDLL32("user32", "FindWindowA", "Shell_TrayWnd", Null) // SW_SHOW = 5 AppelDLL32("user32", "ShowWindow", hWnd, 5 ) // Démasquage du bouton Démarrer hWnd = AppelDLL32("user32", "FindWindowExA", 0,0, 0xC017, Null) // SW_SHOW = 5 AppelDLL32("user32", "ShowWindow", hWnd, 5 ) FIN
Bonjour et merci Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens! pour ce partage Cordialement, Pascal