Как я могу поместить ConsoleWrite()
в GUICtrlCreateEdit()
?
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
$Form1 = GUICreate("Test", 257, 182, 192, 124)
GUISetFont(12, 400, 0, "Times New Roman")
$test = GUICtrlCreateEdit("", 8, 40, 241, 90, $ES_AUTOVSCROLL)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
ConsoleWrite('Text test')