ListView_GetTopIndex

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

This macro retrieves the index of the topmost visible item when in list or report view. You can use this macro or send the LVM_GETTOPINDEX message explicitly.


int ListView_GetTopIndex( 
  HWND hwnd 
);

hwnd

Handle to the list-view control.

The index of the item indicates success. Zero indicates that the list-view control is in icon or small icon view.

Related message: LVM_GETTOPINDEX

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

Community Additions

Show: