Share via


LVM_SETITEMPOSITION

This message moves an item to a specified position in a list-view control, which must be in icon or small icon view. You can send this message explicitly or by using the ListView_SetItemPosition macro.

LVM_SETITEMPOSITION wParam = (LPARAM)(int) i; 
  lParam = MAKELPARAM((int) x, (int) y );

Parameters

  • i
    Index of the list-view item.
  • x and y
    Specifies the new position of the item's upper-left corner, in view coordinates.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

Related macro: ListView_SetItemPosition

Requirements

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

See Also

ListView_SetItemPosition | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.