Ok, sorry if I was a little unclear. The problem is, when the textbox contol is resized on the form, the location of the text inside remains the same.
Let me give you an example. Lets say I started dragging from tbe bottom right corner, and all of my controls have been programmed to move with form as it enlarges. The textbox does this, but the last line in the text inside remains in it's current position. This causes a huge space in between the bottom of the textbox and the last line of text, and that space varies depending on what the form was expanded too.
What I want to do, is make that text move up or down as it may be, to the bottom of the richtext at all times, so there is no space, unless there isn't enough text to make it to the bottom of a specific size.
Again, I appreciate all input.
Main Topics
Browse All Topics





by: jackblackPosted on 2002-10-26 at 03:30:28ID: 7372221
Not quite sure what your asking, but you can use the lockwindow api to stop the flickering and if you want to scroll to the end of the text within the control, then use SelStart.
If you're having problems when the maximize button is pushed, you could subclass the form and trap the resize message.
Latz
jp