🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AddFontRessource() and RemoveFontRessource()

#12160
From: Remy Lebeau (TeamB)
Date: Tue, 23 Dec 2003 22:29
25 lines
1681 bytes
"Mauro" <mauro23@gmx.de> wrote in message
news:3fe8b116@newsgroups.borland.com...

> But how can I check at the end of my program which font
> has been added by me ??

That is your own responsibility to keep track of.  When you decide to
install a font via AddFontResource(), simply keep track of the filename in
your code, then you can use that same filename when calling
RemoveFontResource() later.

> If I remove all fonts that I wanted to add, then I could
> remove some fonts that are available by default.

It is your own responsibility to make sure that you are not overwriting, or
otherwise effecting, existing fonts to begin with.

> So have I to remember the fonts that I have added during the
> lifetime of my program ??

Of course.


Gambit
Technical Details
Message-ID: <3fe8c089$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fe8b116@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d9426cb64e955409
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-23 14:40:13 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fe8b116@newsgroups.borland.com>
Subject: Re: AddFontRessource() and RemoveFontRessource()
Date: Tue, 23 Dec 2003 14:29:21 -0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.139.199
Message-ID: <3fe8c089$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072218249 67.22.139.199 (23 Dec 2003 14:24:09 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail