🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3301

Re: DrawText / DrawText, word wrapping and long strings

#3301
From: Mike Collins
Date: Wed, 12 Jul 2006 17:07
21 lines
1825 bytes
Yep, using the DT_WORDBREAK flag.

The encrypted block of text looks like this:
            "U8m8Kr2hMPiT7Fs2XfDgtKVaID+XVSILmivZ3u/4gwjp6+ehDRo5NOUPSbIQWN7oUkdc0tMgKahe1dFr1joY1OtJ10wq7f87LLSVP0ZmhkG3hdrzKaMnZwxHozhGmHZLUgkoIVSpUb+hz/iGbvTYKUg7eljYjg0Ntbs72qoNFwk="

- the newsreader might wrap this...  I'm passing it into the DLL as a char 
pointer.  I'm trying to write it out into a block with the canvas.

Any ideas?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44b529fa$1@newsgroups.borland.com...
>
> "Mike Collins" <its@TheBottomOfThePost.com> wrote in message
> news:44b5208b@newsgroups.borland.com...
>
>> the resultant data / ansistring is 172 characters long and is a solid
>> block of text without any spaces in it.
>
> 
Technical Details
Message-ID: <44b52c62@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44b5208b@newsgroups.borland.com> <44b529fa$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,27d018c4a89bdf5b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44b5208b@newsgroups.borland.com> <44b529fa$1@newsgroups.borland.com>
Subject: Re: DrawText / DrawText, word wrapping and long strings
Date: Wed, 12 Jul 2006 18:07:45 +0100
Lines: 23
Organization: SDA Ltd
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.2663
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.2.92.14
Message-ID: <44b52c62@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152724066 81.2.92.14 (12 Jul 2006 10:07:46 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail