ListView_SetItemPosition32 macro (commctrl.h)

Moves an item to a specified position in a list-view control (in icon or small icon view). This macro differs from the ListView_SetItemPosition macro in that it uses 32-bit coordinates. You can use the ListView_SetItemPosition32 macro or send the LVM_SETITEMPOSITION32 message explicitly.

Syntax

void ListView_SetItemPosition32(
   HWND hwndLV,
   int  i,
   int  x0,
   int  y0
);

Parameters

hwndLV

Type: HWND

A handle to the list-view control.

i

Type: int

The index of the list-view item for which to set the position.

x0

Type: int

New horizontal coordinates of the item.

y0

Type: int

New vertical coordinates of the item.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

POINT