🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Length of text in MessageBox function

#4023
From: Mark Jacobs
Date: Tue, 04 Apr 2006 13:55
23 lines
2107 bytes
"Richard Casten" <richard.casten@aero.org> wrote in message 
news:442D8A1E.8012C74D@aero.org...
> Bob Gonder wrote:
>
>> You might try using TextOut() instead of DrawText()
>
> The same problem occurs with TextOut.
>
>> If that still clips, then maybe you could use the hdc of the parent
>> window (dialog)
>
> I tried doing that but it didn't seem to help.  Thanks for the suggestions.
>

So, as you can see, it is easier to do your own modal dialog form to present 
your error message. It really isn't that hard to do. Design the form and put 
your components on it. Save it in a central library directory to your app dev 
env. Then, add the CPP file to each project that is going to use the form.
-- 

Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <44327a80@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com> <4422FA56.83B7F39@aero.org> <442319ab@newsgroups.borland.com> <442ADEA7.B11F561C@aero.org> <442af3e1$1@newsgroups.borland.com> <442C0FDB.EE56D321@aero.org> <442C24BE.8091C591@aero.org> <442c59a6$3@newsgroups.borland.com> <442C615F.2A382D1D@aero.org> <g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com> <442D8A1E.8012C74D@aero.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8d4aea1a094904b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com> <4422FA56.83B7F39@aero.org> <442319ab@newsgroups.borland.com> <442ADEA7.B11F561C@aero.org> <442af3e1$1@newsgroups.borland.com> <442C0FDB.EE56D321@aero.org> <442C24BE.8091C591@aero.org> <442c59a6$3@newsgroups.borland.com> <442C615F.2A382D1D@aero.org> <g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com> <442D8A1E.8012C74D@aero.org>
Subject: Re: Length of text in MessageBox function
Date: Tue, 4 Apr 2006 14:55:05 +0100
Lines: 25
Organization: DK Computing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.144.157.8
Message-ID: <44327a80@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144158848 81.144.157.8 (4 Apr 2006 06:54:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail