LVM_GETITEMPOSITION

This message retrieves the position of a list view item. You can send this message explicitly or by using the ListView_GetItemPosition macro.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_GetItemPosition

Syntax

LVM_GETITEMPOSITION wParam = (WPARAM)(int) i;
lParam = (LPARAM)(POINT FAR *) ppt;

Parameters

i

Index of the list view item.

ppt

Pointer to a POINT structure that receives the position of the item’s upper-left corner, in view coordinates.

Return Values

TRUE indicates success. FALSE indicates failure.

See Also

POINT