本帖最后由 病毒专收员 于 2009-8-20 23:10 编辑
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 542, 357, 192, 114)
$Edit1 = GUICtrlCreateEdit("", 0, 0, 377, 265 ,BitOR($ES_READONLY, $WS_VSCROLL))
GUICtrlSetFont(-1, 10, 800, 0, "Arial")
GUICtrlSetBkColor(-1, 0xFFFFFF)
GUICtrlSetData(-1, "Edit1")
$Edit2 = GUICtrlCreateEdit("", 0, 272, 273, 81,$ES_AUTOVSCROLL+$WS_VSCROLL)
GUICtrlSetFont(-1, 10, 800, 0, "Arial")
GUICtrlSetBkColor(-1, 0xFFFFFF)
$Button1 = GUICtrlCreateButton("Button1", 288, 272, 91, 81, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
Sleep (10)
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Edit 窗口无法使用回车换行,求解! |