LVM_GETTOPINDEX

The LVM_GETTOPINDEX message retrieves the index of the topmost visible item when in list or report view. You can send this message explicitly or by using the ListView_GetTopIndex macro.

LVM_GETTOPINDEX

wParam = 0;

lParam = 0;

Return Values

Returns the index of the item if successful or zero if the list view control is in icon or small icon view.

See Also

ListView_GetTopIndex