I know I've done it before, but I forgot how I did it, and any and all searches give me no usable results so I'll just post a thread.
How do I create an edit control with scroll bars that only show when the text length/width exceeds the control size?
After a second look I have changed the example in the previous post a little bit. I think this works nice for an edit control with a vertical scroll bar and with or without word wrap.
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ScrollBarConstants.au3>
#include <GuiScrollBars.au3>
#include <GuiEdit.au3>
Opt( "MustDeclareVars", 1 )
Global Const $fWordWrap = True
Global Const $iLinesPrPage = 10
Global $tSCROLLINFO = DllStructCreate($tag