Rottbott, here's something that will help you: [a http://support.microsoft.com/default.aspx?scid=kb;en-us;88387]Microsoft Knowledge Base Article - 88387 HOWTO: Determine the Visible Area of a Multiline Edit Control[/a]
; .lib "user32.dll"; SendMessage%(hwnd, msg, wParam, mParam):"SendMessageA"ConstEM_GETFIRSTVISIBLELINE = $00CENotifySendMessage(QueryObject(textarea,1), EM_GETFIRSTVISIBLELINE, 0, 0)
; note that it includes lines that are only partly visible