При нажатии на крестик получаю краш приложения.
Пример:
AutoIT 3.3.6.1 OS:WIN_7 CPU:X64 OS:X64
Пример:
Код:
#include <GDIpProgress.au3>
Opt("GUIOnEventMode", 1)
$hGUI = GUICreate("Program", 300, 117, -1, -1, -1)
$pBar = _ProgressCreate(25, 38, 250, 30)
_ProgressSetText($pBar, ":)")
GUISetState()
GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")
While 1
Sleep(25)
WEnd
Func _Exit()
_ProgressDelete($pBar)
_Progress_CallBack_Free(1)
_GDIPlus_Shutdown()
EXIT
EndFunc
AutoIT 3.3.6.1 OS:WIN_7 CPU:X64 OS:X64