🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #101

LVM_GETITEMCOUNT not working

#101
From: Paul Mayer
Date: Fri, 23 Jan 2004 14:53
9 lines
1126 bytes
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
Technical Details
Message-ID: <1lcfx0n62ur6t.kladoadxt384.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-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,331990b65a313349,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-23 07:10:07 PST
From: Paul Mayer <p_c_mayer@yahoo.com>
Subject: 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
Date: Fri, 23 Jan 2004 14:53:49 +0000
Message-ID: <1lcfx0n62ur6t.kladoadxt384.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 80.88.194.56
X-Trace: newsgroups.borland.com 1074869758 80.88.194.56 (23 Jan 2004 06:55:58 -0700)
Lines: 9
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