Article View: borland.public.cppbuilder.nativeapi
Article #4177Re: Getting SYS Icons
From: poojo hackma
Date: Mon, 13 Mar 2006 16:28
Date: Mon, 13 Mar 2006 16:28
16 lines
1795 bytes
1795 bytes
Hi Gambit, Sorry for taking so long to get back with you. Work pulled me away to other things. >> Also, it looks like once I add the OnGetImageIndex event handler >> for lvPC (the virtual ListView), the virtual part appears to stop working > > Please elaborate. > When GetImageIndex(TObject *Sender, TListItem *Item) is called, the ListView Item already has an ImageIndex value. After looking at the help, I saw that I needed to add SHGFI_ICON to the list of flags, otherwise the FileInfo.iIcon (index) was returning 0.
Technical Details
Message-ID:
<44159e2f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<440ef041$1@newsgroups.borland.com> <440f3555$3@newsgroups.borland.com> <44108aa0$1@newsgroups.borland.com> <441090a9$1@newsgroups.borland.com> <4410abd3@newsgroups.borland.com> <4410cfe9$1@newsgroups.borland.com> <4411a01a@newsgroups.borland.com> <4411d0d2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9456c511753bafd3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "poojo hackma" <poojo.com/mail> Newsgroups: borland.public.cppbuilder.nativeapi References: <440ef041$1@newsgroups.borland.com> <440f3555$3@newsgroups.borland.com> <44108aa0$1@newsgroups.borland.com> <441090a9$1@newsgroups.borland.com> <4410abd3@newsgroups.borland.com> <4410cfe9$1@newsgroups.borland.com> <4411a01a@newsgroups.borland.com> <4411d0d2$1@newsgroups.borland.com> Subject: Re: Getting SYS Icons Date: Mon, 13 Mar 2006 10:28:29 -0600 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Antivirus: avast! (VPS 0610-2, 03/10/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 12.45.133.147 Message-ID: <44159e2f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142267439 12.45.133.147 (13 Mar 2006 08:30:39 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail