Merci d'avance
Pardon pour cette faute de débutant ...

Code : Tout sélectionner
#include <WindowsConstants.au3>
$Form1 = GUICreate("AForm1", 633, 454, 193, 115, -1, $WS_EX_TOOLWINDOW )
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
WEnd