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