VisualHint
1/7/2005 1:05:00 PM
Hi,
I posted some time ago in December the following message and got no
answer. It is very important to me to solve this problem and I wish
that MVP people or anyone else could study with me this problem. It
could give birth to a wonderful custom control ;)
Thanks in advance, here it is :
I come from the MFC world and I can't get the same behaviour I add in
my old app with a new dotnet app written in C#.
I have a rectangle with a string inside and the user can drag the mouse
on the right side of the rectangle to shrink its width. While
shrinking, a string "abcd" is progressively displayed as:
abcd
abc...
ab...
a...
a..
a.
With the StringTrimming.EllipsisCharacter flag set in C# I get:
abcd
abc...
ab...
a...
abc
ab
a
It means that as soon as the "..." characters can't be displayed
completely, then the string is displayed again (at least the characters
that fit in the rectangle).
Any idea ?
Thanks a lot for your help
Herve