🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

EnumFonts and TStringList

#8445
From: LarryJ
Date: Sat, 23 Oct 2004 20:53
11 lines
1213 bytes
I am using EnumFonts seen below to get the list of available fonts into a 
combobox. Can EnumFonts  be used with a TStringList? The TStringList does 
not have a HDC hdc Handle so the TStringList does not seem to work.


  EnumFonts (Canvas->Handle, NULL, (FONTENUMPROC) EnumProc, (LPARAM) 
ComboBox2) ;


Thanks
Larry Johnson 
Technical Details
Message-ID: <417ac708$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8af8b1ec2f90521,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: EnumFonts and TStringList
Date: Sat, 23 Oct 2004 15:53:24 -0500
Lines: 13
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: 216.40.234.112
Message-ID: <417ac708$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098565384 216.40.234.112 (23 Oct 2004 14:03:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail