Код:

#include <ButtonConstants.au3>
GUICreate("Form1", 220, 50, 193, 125)
GUICtrlCreateButton("", 5, 5, 40, 40, $BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 32)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
WEnd