Share via


LVM_SETITEMPOSITION (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

List-View Controls Messages
ListView_SetItemPosition