Du mußt den Style anpassen:
Spoiler anzeigen
#include <EditConstants.au3>
#include <WindowsConstants.au3>
GUICreate('test')
$hEdit = GUICtrlCreateEdit('', 10,10,300,300, BitOR($WS_VSCROLL,$ES_READONLY)) ; nur Vertikal-Scroll, horizontal Umbruch
;~ $hEdit = GUICtrlCreateEdit('', 10,10,300,300, BitOR($WS_HSCROLL,$WS_VSCROLL,$ES_READONLY)) ; Scroll horizontal und vertikal
GUISetState()
Local $text = _
'Opt("CaretCoordMode", 1) ;1=absolute, 0=relative, 2=client' & @CRLF & _
'Opt("ExpandEnvStrings", 0) ;0=dont expand, 1=do expand' & @CRLF & _
'Opt("ExpandVarStrings", 0) ;0=dont expand, 1=do expand' & @CRLF & _
'Opt("FtpBinaryMode", 1) ;1=binary, 0=ASCII' & @CRLF & _
'Opt("GUICloseOnESC", 1) ;1=ESC closes, 0=ESC wont close' & @CRLF & _
'Opt("GUICoordMode", 1) ;1=absolute, 0=relative, 2=cell' & @CRLF & _
'Opt("GUIDataSeparatorChar","|") ;"|" is the default' & @CRLF & _
'Opt("GUIOnEventMode", 0) ;0=disabled, 1=OnEvent mode enabled' & @CRLF & _
'Opt("GUIResizeMode", 0) ;0=no resizing, <1024 special resizing' & @CRLF & _
'Opt("GUIEventOptions",0) ;0=default, 1=just notification, 2=GuiCtrlRead tab index' & @CRLF & _
'Opt("MouseClickDelay", 10) ;10 milliseconds' & @CRLF & _
'Opt("MouseClickDownDelay", 10) ;10 milliseconds' & @CRLF & _
'Opt("MouseClickDragDelay", 250) ;250 milliseconds' & @CRLF & _
'Opt("MouseCoordMode", 1) ;1=absolute, 0=relative, 2=client' & @CRLF & _
'Opt("MustDeclareVars", 0) ;0=no, 1=require pre-declare' & @CRLF & _
'Opt("OnExitFunc","OnAutoItExit");"OnAutoItExit" called' & @CRLF & _
'Opt("PixelCoordMode", 1) ;1=absolute, 0=relative, 2=client' & @CRLF & _
'Opt("SendAttachMode", 0) ;0=dont attach, 1=do attach' & @CRLF & _
'Opt("SendCapslockMode", 1) ;1=store and restore, 0=dont' & @CRLF & _
'Opt("SendKeyDelay", 5) ;5 milliseconds' & @CRLF & _
'Opt("SendKeyDownDelay", 1) ;1 millisecond' & @CRLF & _
'Opt("TCPTimeout",100) ;100 milliseconds' & @CRLF & _
'Opt("TrayAutoPause",1) ;0=no pause, 1=Pause' & @CRLF & _
'Opt("TrayIconDebug", 0) ;0=no info, 1=debug line info' & @CRLF & _
'Opt("TrayIconHide", 0) ;0=show, 1=hide tray icon' & @CRLF & _
'Opt("TrayMenuMode",0) ;0=append, 1=no default menu, 2=no automatic check, 4=menuitemID not return' & @CRLF & _
'Opt("TrayOnEventMode",0) ;0=disable, 1=enable' & @CRLF & _
'Opt("WinDetectHiddenText", 0) ;0=dont detect, 1=do detect' & @CRLF & _
'Opt("WinSearchChildren", 1) ;0=no, 1=search children also' & @CRLF & _
'Opt("WinTextMatchMode", 1) ;1=complete, 2=quick' & @CRLF & _
'Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase' & @CRLF & _
'Opt("WinWaitDelay", 250) ;250 milliseconds'
GUICtrlSetData($hEdit, $text)
Do
Until GUIGetMsg() = -3