LVM_GETITEMCOUNT not working

From: Paul Mayer (p_c_mayer_at_yahoo.com)
Date: 01/23/04


Date: Fri, 23 Jan 2004 14:53:49 +0000

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