🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Shell Icons

#12820
From: Remy Lebeau (TeamB)
Date: Fri, 14 Nov 2003 01:44
23 lines
1815 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:3fb42995@newsgroups.borland.com...

> do you mean I should use this function and ask for an arbitrary folder

You could.

> Would this always result in the folder icon?

It will result in the icon for the particular item that you specify.

> I'm just asking because I noticed one can change the icon for, say,
> 'My computer'. So I was asking myself whether the Windows folder
> would always have the folder icon (the OS version specific of course).

Some items, such as "My Computer", "My Documents", "Favorites", "History",
etc do have specialized icons.  When calling SHGetFileInfo(), it is best to
specify the actual item that you are actually working with at the time, so
that you get the correct icon for that particular item.


Gambit
Technical Details
Message-ID: <3fb43296$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fb420ad$1@newsgroups.borland.com> <3fb422c2$1@newsgroups.borland.com> <3fb42995@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 18:09:24 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb420ad$1@newsgroups.borland.com> <3fb422c2$1@newsgroups.borland.com> <3fb42995@newsgroups.borland.com>
Subject: Re: Shell Icons
Date: Thu, 13 Nov 2003 17:44:07 -0800
Lines: 25
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: <3fb43296$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068774038 67.22.137.149 (13 Nov 2003 17:40:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail