|
-
Mar 20th, 2006, 03:38 PM
#1
Thread Starter
Lively Member
Help with drawing a string
I have a problem hopefully someone can help me out with. I am trying to draw a string in a rectange (not inheriting from any control). The rectangle can only be so big. I need to figure out if the string will not fit in the rectangle, then add a "..." to the end of the string right before it gets cut off.
I know how to the draw the string, and I can figure out how measure it with the font and string formating. But finding that cut-off point is where I am having much difficulty.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|