ListView_SetItemPosition32 macro

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 hwnd,
   int  iItem,
   int  x,
   int  y
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

iItem

Type: int

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

x

Type: int

New horizontal coordinates of the item.

y

Type: int

New vertical coordinates of the item.

Return value

No return value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

POINT

 

 

Show: