Article View: borland.public.cppbuilder.nativeapi
Article #9705SHGetFileInfo, not getting full list
From: Jaepil Kim
Date: Thu, 17 Jun 2004 23:29
Date: Thu, 17 Jun 2004 23:29
18 lines
1287 bytes
1287 bytes
Hi
I m trying to get a full list of icons with following code.
The function works but it only gives me 5 icons. I m not sure if that's
expected behaviour. Do i add individual icons per unique file?
SHFILEINFO SHFInfo;
ImageListSmall->ShareImages = True;
ImageListSmall->Handle = SHGetFileInfo("", 0, &SHFInfo,
sizeof(SHFILEINFO), SHGFI_SYSICONINDEX | SHGFI_SMALLICON);
Regards,
Jaepil Kim
Technical Details
Message-ID:
<40d2296a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6ba1692660f4a4ba,start X-Google-Attributes: gid10cc67,public Date: Fri, 18 Jun 2004 11:29:56 +1200 From: Jaepil Kim <pit@paradise.net.nz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: SHGetFileInfo, not getting full list Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 210.86.92.230 Message-ID: <40d2296a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087514986 210.86.92.230 (17 Jun 2004 16:29:46 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail