🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Loading x48 icons with ExtractIconEx...

#176
From: Bob Gonder
Date: Tue, 01 Jul 2008 02:51
13 lines
1336 bytes
Mike Collins wrote:

>displays a x48 icon that corrisponds to the application.  Currently i'm 
>using ExtractIconEx() becuase this seems like the only to get the default 
>icon used for an applicaiton, i.e.
> however, i only get the x32 icon.

Does ExtractAssociatedIcon work for you?
Also you might look at SHGetFileInfo.
I seem to remember that LoadImage was the one to use.
Fairly good info here:
Icons in Win32
http://msdn.microsoft.com/en-us/library/ms997538.aspx
Technical Details
Message-ID: <d73j6491uh8j0ess67ai2ht5jdkj5remsf@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <486960ab@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: Bob Gonder <none@nowhere.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Loading x48 icons with ExtractIconEx...
Date: Mon, 30 Jun 2008 19:51:33 -0700
Message-ID: <d73j6491uh8j0ess67ai2ht5jdkj5remsf@4ax.com>
References: <486960ab@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.203
X-Trace: newsgroups.borland.com 1214880689 67.77.147.203 (30 Jun 2008 19:51:29 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail