🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Loading x48 icons with ExtractIconEx...

#183
From: Remy Lebeau (TeamB)
Date: Mon, 30 Jun 2008 23:18
16 lines
1373 bytes
"Mike Collins" <its@TheBottomOfThePost> wrote in message 
news:486960ab@newsgroups.borland.com...

> - however, i only get the x32 icon.

As you should be.  32x32 is the "large" icon size.  48x48 is "extra-large", 
which most functions do not recognize.

> I can't workout retrieve the x48 icon.

ExtractIconEx() does not support 48x48.  Use SHGetImageList() to get an 
IImageList/HIMAGELIST that you can then extract 48x48 icons from.


Gambit 
Technical Details
Message-ID: <486a5a20$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <486960ab@newsgroups.borland.com>
Subject: Re: Loading x48 icons with ExtractIconEx...
Date: Mon, 30 Jun 2008 16:18:14 -0700
Lines: 18
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <486a5a20$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1214929440 207.178.157.90 (1 Jul 2008 09:24:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail