LVM_GETITEMPOSITION

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ListView_GetItemPosition
POINT
List-View Controls Messages