ListView_GetNextItemListView_GetNextItem*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_GetItemText
*Next Topic: ListView_GetNumberOfWorkAreas

ListView_GetNextItem


int ListView_GetNextItem(
    HWND hwnd, 		
    int iStart, 		
    UINT flags		
);		

Searches for a list view item that has the specified properties and bears the specified relationship to a specified item. You can use this macro or send the LVM_GETNEXTITEM message explicitly.

hwnd
Handle to the list view control.
iStart
Index of the item with which to begin the search, or -1 to find the first item that matches the specified flags. The specified item itself is excluded from the search.
flags
Geometric relation of the requested item to the specified item and, if specified, the state of the requested item. For a list of possible values, see the description of the flags parameter in the LVM_GETNEXTITEM message. If an item does not have all of the specified state flags set, the search continues with the next item.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.