Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionextern "C" int __stdcall Intercepte() { ... }
HWND tab[20]; int i = 0; BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) { if(IsWindowVisible(hwnd)) { tab[i] = hwnd; i++; } return TRUE; } ... for(j=0; j<=i;j++) ShowWindow(tab[j], SW_MINIMIZE);