When I run my app inside the GUI it freezes and comes up with Not Responding.
Here is my code:
#include <windowsconstants.au3> #include <constants.au3> $hGui1 = GUICreate('Parent',800,600,100,100, BitOr($GUI_SS_DEFAULT_GUI,$WS_CLIPCHILDREN)) $iBtn1 = GUICtrlCreateButton("fit",560,10,100,21) $hLV1 = GUICtrlCreateListView("lvexample",410,50,300,300) GUISetState() Run("E:\AutoClickExtreme\AutoClicker.exe") Sleep(300) WinMove("AutoClickExtreme","",0,0,395,600) WinMove("D:\WINDOWS\System32\cmd","",395,0,400,620) Sleep(300) DllCall("user32.dll", "int", "SetParent", "hwnd", WinGetHandle("AutoClickExtreme"), "hwnd", WinGetHandle('Parent')) While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit WEnd
Here is a screenshots of the App in Action:

Why?! I don't understand, is it because of that cmd?









