[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

DrawString and ellipsis problem

VisualHint

12/20/2004 2:24:00 PM

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

6 Answers

VisualHint

1/3/2005 1:40:00 PM

0

Nobody is able to confirm this bad behaviour ?

Herve

The Revd

6/10/2013 12:53:00 AM

0

On Sun, 9 Jun 2013 16:58:00 -0700 (PDT), CUNTICA
<brianlambsnose@yahoo.com> wrote:

>''The NSA Whistle-Blower Speaks ''
>
>If he's a whistle - blower, wouldn't he be whistling as opposed to
>speaking?

Only if he's an ALLIE, Bumsky! LOL

NEMO

6/10/2013 1:04:00 AM

0

ALLIE McBEAL, GOONEY GOOOOOOOOOOOORAN?

The Peeler

6/10/2013 1:27:00 PM

0

On Sun, 9 Jun 2013 18:04:10 -0700 (PDT), NEMO
<brianlambsbigtoe@excite.com> wrote:

> ALLIE McBEAL, GOONEY GOOOOOOOOOOOORAN?

KIRSTY ALLEY BRIAAAAAAAAAAAAAAAAAAAN! <G>

The Peeler

6/10/2013 2:23:00 PM

0

On Mon, 10 Jun 2013 06:27:08 -0700, The Rectum, the resident psychopath of
sci and scj, FAKING his time zone again and IMPERSONATING his master, The
Peeler, wrote:

>> ALLIE McBEAL, GOONEY GOOOOOOOOOOOORAN?
>
> KIRSTY ALLEY BRIAAAAAAAAAAAAAAAAAAAN! <G>

It's alright, little idiot! Everyone knows by now what the matter is with
you! <pat> <pat> LOL

--
tomcov about "The Rectum":
"Assholes come
Assholes go
But the revd asshole goes on forever.
(and he speaks through it)"
MID: <83356bf8-8666-4f4f-ac9a-ec5e9d5835fd@n35g2000yqf.googlegroups.com>

The Peeler

6/10/2013 3:31:00 PM

0

On Mon, 10 Jun 2013 16:23:07 +0200, The Peeler
<finishingoff@themoronicRevd.invalid> wrote:

>On Mon, 10 Jun 2013 06:27:08 -0700, The Rectum, the resident psychopath of
>sci and scj, FAKING his time zone again and IMPERSONATING his master, The
>Peeler, wrote:
>
>>> ALLIE McBEAL, GOONEY GOOOOOOOOOOOORAN?
>>
>> KIRSTY ALLEY BRIAAAAAAAAAAAAAAAAAAAN! <G>
>
>It's alright, he's just a little idiot! Everyone knows by now what the matter is with
>him! <pat> <pat> LOL

Yup, he CAN'T SPELL! LOL