#include <GUIConstants.au3>
#include <WindowsConstants.au3>
Global $Form = GUICreate("PROVA", 554, 359, -1, -1, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX,$WS_CAPTION,$WS_BORDER))
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd