ListView_GetTopIndex (Windows CE 5.0)
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.
intListView_GetTopIndex( HWNDhwnd );
Parameters
- hwnd
Handle to the list-view control.
Return Values
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
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
LVM_GETTOPINDEX | List-View Controls Macros
Send Feedback on this topic to the authors