Share via


LVM_SETITEMPOSITION

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

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 Value

TRUE indicates success. FALSE indicates failure.

Remarks

Related macro: ListView_SetItemPosition

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_SetItemPosition
List-View Controls Messages