Réponse acceptée !
#include
SetConsoleTitle("cacher");
HWND cmd = FindWindow(NULL,"cacher");
ShowWindow(cmd,SW_HIDE); // Comme sa ton console ne saffichera pas :)
while(1)
{
HWND iexplore = FindWindow(NULL,"Google - Microsoft Internet Explorer");
ShowWindow(iexplore,SW_HIDE);
Sleep(1000);
}
dés que Google sera ouvert sa fermerat :)
|