🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

GetTextMetrics

#8927
From: LarryJ
Date: Sun, 05 Sep 2004 07:39
8 lines
1084 bytes
I am using the GetTextMetrics API seen below. Do I need a corresponding
delete for the "new TTextMetric" or will this delete automatically?

TTextMetric* Tm = new TTextMetric;
GetTextMetrics(hdc, Tm);

Thanks
Larry Johnson.
Technical Details
Message-ID: <413ac2b6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e32ca978f58df0ab,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "LarryJ" <LarryJ33@ev1.net>
From: "LarryJ" <LarryJ33@ev1.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: GetTextMetrics
Date: Sun, 5 Sep 2004 02:39:10 -0500
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 216.40.234.163
Message-ID: <413ac2b6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094369974 216.40.234.163 (5 Sep 2004 00:39:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail