Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jumping to a specific line number in a RichEdit Text box
#2
not exactly "jumping to a line number" but it does get me to the highlighted text!!!!

Function SwapSelectedForSubmittedText
Code:
Copy      Help
SendMessage(reportcid EM_SETSEL AllTextPrecedingSelectionLength AllTextPrecedingSelectionLength+SelectedTextLength);; i+length)

By "selecting it" it brings the focus there - I can unselect it (to see the highlighting) by giving a 'L left arrow key.
Is there a way to jump there without actually "selecting" it...kind of like:
SELFLAG_TAKEFOCUS

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)