Have dbi ctlist on a form. Will hold comments with a user name and date seperating comments.
Lets say I have the following string:
---
Now is the time for all good men to come to the aid of their county.
Due 100
Due 200
Due 300
Again now is the time for all good men to come to the aid of their country.....
---
Using GDIPlus I can determine the total height of this string according to the width and height of my dbi ctlist object that is not a problem. My problem is, what if the height is only high enough to display down to and including "Due 200". How do I find where to cut off the current string, making that section into one ctlist subtext item, then the starting point for the next section of wording for the next row. In other words I need to be able to break up comments of various manual formatting (carriage returns, line feeds, tabs) etc into perfectly sized rows. CTList won't do this for me
Not really sure how to word this question.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.
Riddley Walker