🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#833
From: Asger Joergensen
Date: Mon, 03 Dec 2007 01:04
19 lines
1583 bytes
Hi remmurds 
 
I just came to think that this might not be the right 
function for what You want to do.
SHGetFileInfo is as far as I know used when You want 
to retrieve systeminformation about a file ant it is 
therefor the function retrieves the information You 
can see in Your explorer.
In other words if Your system shows 32x32 icons that
is what You get when You call SHGetFileInfo.

If you want to draw an Icon then You have to load the 
actual Icon either from resource or from file.

***  I think  **** ;-)

Kind regards
Asger
Technical Details
Message-ID: <MPG.21bd7492b2b1db4e989931@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!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> <4752fc27$1@newsgroups.borland.com> <MPG.21bd27055e96426f989930@newsgroups.borland.com> <47534270@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: Asger Joergensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Get the icon by using "SHGetFileInfo"...
Date: Mon, 3 Dec 2007 02:04:38 +0100
Message-ID: <MPG.21bd7492b2b1db4e989931@newsgroups.borland.com>
References: <4751fbc8$1@newsgroups.borland.com> <MPG.21bd0b1963f2bda698992f@newsgroups.borland.com> <4752fc27$1@newsgroups.borland.com> <MPG.21bd27055e96426f989930@newsgroups.borland.com> <47534270@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.201.25
X-Trace: newsgroups.borland.com 1196643872 83.73.201.25 (2 Dec 2007 17:04:32 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail