The ListView_SetItemPosition32 macro moves an item to a specified position in a list view control, which must be 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 explicitly send the LVM_SETITEMPOSITION32 message.
void ListView_SetItemPosition32(
HWND hwnd, | |
int iItem, | |
nt x, | |
int y | |
); |
Parameters
hwnd
Handle to the list view control.
iItem
Index of the list view item to set the position of.
x and y
New horizontal and vertical coordinates of the item.
Return Values
No return value.
See Also