H
Herve Bocuse
Hi,
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
to shrink the rectangle 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
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
to shrink the rectangle 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