🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get the icon by using "SHGetFileInfo"...

#838
From: Remy Lebeau (TeamB)
Date: Tue, 04 Dec 2007 01:00
16 lines
1536 bytes
"Asger Joergensen" <junk@Asger-P.dk> wrote in message
news:MPG.21beac6b19b49f6b989934@newsgroups.borland.com...

> Yea, I know I can do that, but we were trying
> to get the Icon in 48x48 and not 32x32

SHGetFileInfo() does not support that icon size.  Use LoadImage() instead.

> by not specifying SHGFI_LARGEICON, I was hoping
> for a handle to an Icon containing all the sizes.;-)

That is not how SHGetFileInfo() works.


Gambit
Technical Details
Message-ID: <4754a665@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4751fbc8$1@newsgroups.borland.com> <MPG.21bd0b1963f2bda698992f@newsgroups.borland.com> <47545f65$1@newsgroups.borland.com> <MPG.21beac6b19b49f6b989934@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bee658860984a9b7
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4751fbc8$1@newsgroups.borland.com> <MPG.21bd0b1963f2bda698992f@newsgroups.borland.com> <47545f65$1@newsgroups.borland.com> <MPG.21beac6b19b49f6b989934@newsgroups.borland.com>
Subject: Re: Get the icon by using "SHGetFileInfo"...
Date: Mon, 3 Dec 2007 17:00:16 -0800
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <4754a665@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1196729957 75.83.29.61 (3 Dec 2007 16:59:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail