🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: EnumResourceNames

#7041
From: jB
Date: Tue, 15 Mar 2005 17:08
21 lines
1451 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com>

Thanks, this works great, but...

It returns the total number of all icons.
So if an icon has more than 1 format it counts each format as a unique icon.
How can I obatin the number of unique icons not formats ?

i.e TotalIcons = 4
i.e ActualIcons = 2 (with 2 formats for each = 4)

Next hurdle for me, how can I display one of the icons now I know that the 
resource has icons.
I tried LoadIcon but nothing seems to display.

Really appreciate any advice.

Thanks

jB 
Technical Details
Message-ID: <4237168b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4235f905@newsgroups.borland.com> <42367c11$1@newsgroups.borland.com> <42367d6a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da3abd9f4e77eb05
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "jB" <.>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4235f905@newsgroups.borland.com> <42367c11$1@newsgroups.borland.com> <42367d6a$1@newsgroups.borland.com>
Subject: Re: EnumResourceNames
Date: Tue, 15 Mar 2005 18:08:33 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 212.254.101.39
Message-ID: <4237168b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110906507 212.254.101.39 (15 Mar 2005 09:08:27 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail