本帖最后由 gto250 于 2011-7-23 21:56 编辑
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiRichEdit.au3>
#Region ### START Koda GUI section ### Form=
$hGui = GUICreate("Form1", 615, 438, 192, 124)
$Edit1 =_GUICtrlRichEdit_Create($hGui, "This is a test.", 32, 16, 529, 105, BitOR($ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL))
$Edit2 =_GUICtrlRichEdit_Create($hGui, "This is a test0.", 32, 152, 529, 97, BitOR($ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
GUIDelete()
Exit
EndSwitch
WEnd
我用上面的代码,想得到一个界面中有两个富文本编辑框的效果,但是实现不了!
是我的代码有问题还是其他问题?
系统版本:win7 旗舰版
au3版本:3.3.7.13 |