Поделиться через


ListView_GetTopIndex (Windows Embedded CE 6.0)

1/6/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.

Syntax

int ListView_GetTopIndex( 
  HWND hwnd 
);

Parameters

  • hwnd
    Handle to the list-view control.

Return Value

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

Remarks

Related message: LVM_GETTOPINDEX

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

List-View Controls Macros
LVM_GETTOPINDEX