Helloi guys. This is my code. #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <WindowsConstants.au3> #include <Misc.au3> Local $hGUI = GUICreate("Example", 250, 250) Local $Iamaretardos = GUICtrlCreateButton ("Yes",50,50) GUISetState(@SW_SHOW) While (1) Melba23 () WEnd Func Melba23 () Sleep (10) Switch GUIGetMsg() Case $GUI_E