;~ #AutoIt3Wrapper_AU3Check_Parameters= -q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ;~ #Tidy_Parameters=/sf #include-once #include OnAutoItExitRegister("on_exit") Opt("GUIOnEventMode", 1) Opt("GUIEventOptions", 1) Opt("MustDeclareVars", 1) Global $aGui[9] = [0, "BackEfect", 520, 360, -1, -1, Default, $WS_EX_COMPOSITED, 0] Global $aMouse, $hGui, $OVER $aGui[0] = GUICreate($aGui[1], $aGui[2], $aGui[3], $aGui[4], $aGui[5], $aGui[6], $aGui[7], $aGui[8]) GUISetOnEvent($GUI_EVENT_CLOSE, "quit") Local $hControlLabel = GUICtrlCreateLabel("Label", 10, 10, 90, 30) Local $hControlButton = GUICtrlCreateButton("Button", 110, 10, 90, 30) Local $hControlRadio = GUICtrlCreateRadio("Radio", 210, 10, 90, 30) Local $hControlGroup = GUICtrlCreateGroup("Group", 310, 10, 90, 30) Local $hControlCheckBox = GUICtrlCreateCheckbox("CheckBox", 410, 10, 90, 30) Local $hControlCheckBox2 = GUICtrlCreateCombo("Combo", 10, 60, 90, 30) Local $hControlInput = GUICtrlCreateInput("Input", 110, 60, 90, 30) Local $hControlList = GUICtrlCreateList("List", 210, 60, 90, 90) GUISetState(@SW_SHOW, $hGui) __BackEffectStart($aGui[0]) AddBack_Effect($aGui[0], $hControlLabel) AddBack_Effect($aGui[0], $hControlButton) AddBack_Effect($aGui[0], $hControlRadio) AddBack_Effect($aGui[0], $hControlGroup) AddBack_Effect($aGui[0], $hControlCheckBox) AddBack_Effect($aGui[0], $hControlCheckBox2) AddBack_Effect($aGui[0], $hControlInput) AddBack_Effect($aGui[0], $hControlList) While Sleep(10) WEnd Func quit() Exit EndFunc ;==>quit Func on_exit($sInput = 0) If IsDeclared("sInput") Then ConsoleWrite("_exit[ " & $sInput & " ]" & @LF) GUIDelete($aGui[0]) EndFunc ;==>on_exit