Article View: borland.public.cppbuilder.nativeapi
Article #1551Re: TextOut() to ouput multiple lines of text
From: Asger Jorgensen
Date: Tue, 10 Jul 2007 23:52
Date: Tue, 10 Jul 2007 23:52
18 lines
1359 bytes
1359 bytes
Hi Renald
I find it easyer to use:
int DrawText(
HDC hDC, // handle to device context
LPCTSTR lpString, // pointer to string to draw
int nCount, // string length, in characters
LPRECT lpRect, // pointer to structure with formatting dimensions
UINT uFormat // text-drawing flags
);
It gives You much more control over the drawing.
Kind regards
Asger
>
Technical Details
Message-ID:
<MPG.20fe3a1621e9f3ce989799@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4693dd13$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,89def0aa73b51d3c X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Asger Jorgensen <Junk@Asger-P.dk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: TextOut() to ouput multiple lines of text Date: Wed, 11 Jul 2007 01:52:14 +0200 Message-ID: <MPG.20fe3a1621e9f3ce989799@newsgroups.borland.com> References: <4693dd13$1@newsgroups.borland.com> Organization: Asger-P MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 NNTP-Posting-Host: 83.73.213.92 X-Trace: newsgroups.borland.com 1184111652 83.73.213.92 (10 Jul 2007 16:54:12 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail