🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Loading x48 icons with ExtractIconEx...

#200
From: Mike Collins
Date: Wed, 02 Jul 2008 22:23
19 lines
1728 bytes
I get all this - i think maybe i'm not expaining myself very well.

I know how to use LoadLibrary / LoadImage to access a give x48 icon. 
However, I don't know the Icon ID.

This is the situation - I have an event log that holds a list of 
applications that have be logged.  I want to display the default icon for 
the individual application - NOT the shells default application.  I want to 
show the icon that the programs author has assigned as the displayed icon. 
I can't work out how to do this becuase i don't know the icon ID.  Using 
ExtractIconEx will give me the default icon but only up to 32x32.

Does this make sense?

Mike

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:486bb18e$1@newsgroups.borland.com...
>
Technical Details
Message-ID: <486bef13@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <486960ab@newsgroups.borland.com> <486a5a20$1@newsgroups.borland.com> <486b952d@newsgroups.borland.com> <486bb18e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bcbc54027817c35e
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <486960ab@newsgroups.borland.com> <486a5a20$1@newsgroups.borland.com> <486b952d@newsgroups.borland.com> <486bb18e$1@newsgroups.borland.com>
Subject: Re: Loading x48 icons with ExtractIconEx...
Date: Wed, 2 Jul 2008 22:23:31 -0000
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
NNTP-Posting-Host: 78.149.52.48
Message-ID: <486bef13@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1215033107 78.149.52.48 (2 Jul 2008 14:11:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail