🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Shell Icons

#12818
From: Remy Lebeau (TeamB)
Date: Fri, 14 Nov 2003 00:36
15 lines
1479 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:3fb420ad$1@newsgroups.borland.com...

> in my application I want to use the explorer icons
> for opened/closed folders. Is there a way to retrieve
> these icons from the shell in a way that is compatible
> for all Windows versions?

Have a look at SHGetFileInfo().  It can return a handle to the Shell's Image
List, as well as indexes into that image list for particular items,
including opened and closed folders.


Gambit
Technical Details
Message-ID: <3fb422c2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fb420ad$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ae35de9ff97a8cde
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-13 16:39:32 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb420ad$1@newsgroups.borland.com>
Subject: Re: Shell Icons
Date: Thu, 13 Nov 2003 16:36:35 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.149
Message-ID: <3fb422c2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068769986 67.22.137.149 (13 Nov 2003 16:33:06 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail