I have a program running that runs a loop and while looping outputs text into a RichEdit control.
I would like to have it scroll to the bottom of the control after I add the text, so that as the user watches, they can read the new updates.
How can I do that?
thanks
You can use these wrappers of Jose:
RichEdit_SetSel
RichEdit_ScrollCaret
A small project to demonstrate the use is enclosed.
Rolf
again, that was just what I needed. Thanks!
Just as a hint - if you need functions that sometimes are not covered directly in FireFly then Josè Roca's API wrappers are extremely helpful. There is hardly anything that is not covered. If you ever heard of "Dan Appleman's Programmer's Guide to the WIN32 API", well, here is the equivalent work for PowerBasic.
Josè has them for download here:
http://www.jose.it-berater.org/smfforum/index.php?topic=4518.0 (http://www.jose.it-berater.org/smfforum/index.php?topic=4518.0)
Don't miss the helpfile. It is in the second post. I noticed that many downloaded the API headers but not the helpfile. Without the helpfile you are only getting half of the benefits!
Rolf