Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.51 KB

lvm-gettopindex.md

File metadata and controls

56 lines (33 loc) · 1.51 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
LVM_GETTOPINDEX message (Commctrl.h)
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.
vs|controls|~\controls\listview\messages\lvm_gettopindex.htm
LVM_GETTOPINDEX message Windows Controls
apiref
LVM_GETTOPINDEX
Commctrl.h
HeaderDef
reference
05/31/2018

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.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the index of the item if successful. Returns zero if the list-view control is in icon or small icon view, or if the list-view control is in details view with groups enabled.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h