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.

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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_GetItemPosition | POINT | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.