ListView_GetItemCount

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

Thismacro retrieves the number of items in a list-view control. You can use this macro or send the LVM_GETITEMCOUNT message explicitly.


int ListView_GetItemCount( 
  HWND hwnd 
);

hwnd

Handle to the list-view control.

Returns the number of items.

Related message: LVM_GETITEMCOUNT

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: