I am lazy, 125 easy points :) [line from a text box]
Posted on 1998-06-15
I want a function (or api call, I believe there is one) to grab a specific line from a rich text box.
For example, you are happily typing along, and just to be annoying I wanted this program to pop up a message box whenever you pressed enter at the end of a line and display the line you just finished typing....
1 : This is the first line (enter)
2 : this is the second line (enter)
blah blah blah
After I type the first line "This is the first line" and then pressed enter, a message box would appear with the line I just finished typing "This is the first line" and my cursor would be sitting on the next line like normal, nothing has changed.
Wow, that was a mouthful. I do not think this is two hard, but I am lazy and working on other things, so hopefully someone can get some easy points. This is in VB5 Professional.