well, something is wrong here. the RTB is scrolling to the last line and putting that on top. even if i manually put in a value, such as below
VB Code:
  1. SendMessage RichTextBox1.hwnd, EM_LINESCROLL, 0&, 10
it still scrolls to the last line