Article View: borland.public.cppbuilder.nativeapi
Article #8511Load font from resource
From: PaoloItaly
Date: Wed, 20 Oct 2004 06:32
Date: Wed, 20 Oct 2004 06:32
9 lines
1125 bytes
1125 bytes
I've the following code
HRSRC h = FindResource(NULL, "LADDERFONT", "RT_FONT");
HGLOBAL hg;
if (h)
hg = LoadResource(NULL, h);
but how can use it ?
How i can obtain an HFONT
Thanks in advance
Technical Details
Message-ID:
<4176068a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,15bb0ddfaf3b41c0,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Load font from resource Date: Wed, 20 Oct 2004 08:32:19 +0200 Lines: 11 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: 82.105.234.125 Message-ID: <4176068a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098253962 82.105.234.125 (19 Oct 2004 23:32:42 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail