Article View: borland.public.delphi.nativeapi
Article #203Re: LVM_GETITEMCOUNT not working
From: Paul Mayer
Date: Fri, 23 Jan 2004 17:13
Date: Fri, 23 Jan 2004 17:13
14 lines
1304 bytes
1304 bytes
On Fri, 23 Jan 2004 14:53:49 +0000, Paul Mayer wrote: > Hi > > I trying to get the icon count from the desktop Listview. The code is: > SendMessage(listview_wnd, LVM_GETITEMCOUNT, 0, 0) > > where listview_wnd is a valid handle to the desktop. But it always returns > 0 which is definately wrong. Am I missing something here? > > Paul Mayer Its ok - it does work. My silly mistake
Technical Details
Message-ID:
<1pxiy290zyf5f.19kypgoj3ax07$.dlg@40tude.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<1lcfx0n62ur6t.kladoadxt384.dlg@40tude.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,331990b65a313349 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-23 09:40:38 PST From: Paul Mayer <p_c_mayer@yahoo.com> Subject: Re: LVM_GETITEMCOUNT not working Newsgroups: borland.public.delphi.nativeapi MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mayerp@kentpharm.co.uk References: <1lcfx0n62ur6t.kladoadxt384.dlg@40tude.net> Date: Fri, 23 Jan 2004 17:13:26 +0000 Message-ID: <1pxiy290zyf5f.19kypgoj3ax07$.dlg@40tude.net> User-Agent: 40tude_Dialog/2.0.5.1 NNTP-Posting-Host: 80.88.194.56 X-Trace: newsgroups.borland.com 1074878210 80.88.194.56 (23 Jan 2004 09:16:50 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail