Share via


LVM_GETITEMPOSITION (Compact 2013)

3/28/2014

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

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 Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages
ListView_GetItemPosition
POINT