Article View: borland.public.cppbuilder.nativeapi
Article #16729Re: SHGetFileInfo and system image list
From: Dmitry Mikhilov
Date: Thu, 01 May 2003 21:11
Date: Thu, 01 May 2003 21:11
39 lines
2583 bytes
2583 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote: news:3eb187be$1@newsgroups.borland.com... > > "Dmitry Mikhilov" <dm1@fromru.com> wrote in message > news:3eb18101@newsgroups.borland.com... > > > I use SmallImages for representing the status of the files > > (i.e. are they locked or not) which are either linked or > > embedded to database > > That is what StateImages should be used for instead - the "state" of each > item. > > > whilst StateImages represent their filetypes > > That is what Small/LargeImages should be used for instead - the "icon" of > each item. > > > I tried to swap image lists for SmallImages and StateImages, > > but in this case wrong icons appeared as SmallImages, as > > you could possibly expect. > > Yes. But better that SmallImages be messed up then StateImages. You > wouldn't want an item appearing as locked when it's really not, etc. Remy, I understand what you mean, but the problem is that column headers take their images from SmallImages list, not from the StateImages one. So, if I shall assign system image list to SmallImages of a listview, then how can I draw my own images (which are not part of system image list) at ListColumns? <skipped> > Please create and post an actual compilable sample project to the > .attachments group that demonstrates the problem you are seeing. I shall try. Dmitry
Technical Details
Message-ID:
<3eb18d9b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!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> <3eb14f98$1@newsgroups.borland.com> <3eb15950@newsgroups.borland.com> <3eb1640d$1@newsgroups.borland.com> <3eb18101@newsgroups.borland.com> <3eb187be$1@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 14:18:10 PST From: "Dmitry Mikhilov" <dm1@fromru.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eb0bdcd@newsgroups.borland.com> <18t1bv0lpjgqv1tblq09gh7u0j87hjtj2i@4ax.com> <3eb10399@newsgroups.borland.com> <3eb14f98$1@newsgroups.borland.com> <3eb15950@newsgroups.borland.com> <3eb1640d$1@newsgroups.borland.com> <3eb18101@newsgroups.borland.com> <3eb187be$1@newsgroups.borland.com> Subject: Re: SHGetFileInfo and system image list Date: Fri, 2 May 2003 01:11:16 +0400 Lines: 43 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: <3eb18d9b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051823515 195.131.110.226 (1 May 2003 14:11:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail