Article View: borland.public.cppbuilder.nativeapi
Article #16721Re: SHGetFileInfo and system image list
From: Dmitry Mikhilov
Date: Thu, 01 May 2003 11:27
Date: Thu, 01 May 2003 11:27
14 lines
1559 bytes
1559 bytes
Sorry for typoo, assigning is to the handle of TImageList->Handle of the
imagelist attached to the StateImages property of TListView, actually:
IconList->Handle =
SHGetFileInfo("",0,&Si,sizeof(Si),SHGFI_SMALLICON|SHGFI_SYSICONINDEX);
MyListView->StateImages = IconList;
"Dmitry Mikhilov" <dm1@fromru.com> wrote:
news:3eb10399@newsgroups.borland.com...
> Thank you, Nick, but nothing has changed after applying your sample.
>
> ...I wonder, is it correct that I obtain the handle of the system image
list
> and assign it to TListView->StateImages->Handle
Technical Details
Message-ID:
<3eb104ba@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eb0bdcd@newsgroups.borland.com> <18t1bv0lpjgqv1tblq09gh7u0j87hjtj2i@4ax.com> <3eb10399@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,577f7a686a96c6b6 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-01 04:36:40 PST From: "Dmitry Mikhilov" <dm1@fromru.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eb0bdcd@newsgroups.borland.com> <18t1bv0lpjgqv1tblq09gh7u0j87hjtj2i@4ax.com> <3eb10399@newsgroups.borland.com> Subject: Re: SHGetFileInfo and system image list Date: Thu, 1 May 2003 15:27:16 +0400 Lines: 16 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: 195.131.110.226 Message-ID: <3eb104ba@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051788474 195.131.110.226 (1 May 2003 04:27:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail