Article View: borland.public.cppbuilder.nativeapi
Article #4005Re: Length of text in MessageBox function
From: Bob Gonder
Date: Fri, 31 Mar 2006 00:21
Date: Fri, 31 Mar 2006 00:21
9 lines
1576 bytes
1576 bytes
Richard Casten wrote: >I was able to do and, as expected, the character string was clipped since the >bold font produced a string longer than the window. You might try using TextOut() instead of DrawText() If that still clips, then maybe you could use the hdc of the parent window (dialog)
Technical Details
Message-ID:
<g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.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-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8d4aea1a094904b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Length of text in MessageBox function Date: Thu, 30 Mar 2006 16:21:51 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <g9to22lf56k7bj4odh5ufn1okh1fdkre36@4ax.com> 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> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 71.49.212.29 X-Trace: newsgroups.borland.com 1143764509 71.49.212.29 (30 Mar 2006 16:21:49 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.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