Hi all,
Check this out. How can I prevent the user to click in the Edit window? If he clicks there, the numbers will be written where the mouse is...
Thanks,
Global $InfoWindow
CreateLogGui ()
For $i=1 to 100
SendToLog ($i)
Sleep (200)
Next
Func CreateLogGui ()
GUICreate("Logger",400,200,-1,-1)
$InfoWindow=GUICtrlCreateEdit ("", -1,-1,400,200)
GUISetState ()
EndFunc
Func SendToLog ($Text)
GUICtrlSetData($InfoWindow,$Text & @CRLF,1)
GUISetState ()
EndFunc