LVM_SETITEMPOSITIONLVM_SETITEMPOSITION*
*



Contents  *



Index  *Topic Contents
*Previous Topic: LVM_SETITEMCOUNT
*Next Topic: LVM_SETITEMPOSITION32

LVM_SETITEMPOSITION


LVM_SETITEMPOSITION 
    wParam = (LPARAM) (int) i; 
    lParam = MAKELPARAM((int) x, (int) y); 

Moves an item to a specified position in a list view control (must be in icon or small icon view). You can send this message explicitly or by using the ListView_SetItemPosition macro.

i
Index of the list view item.
x and y
New position of the item's upper-left corner, in view coordinates.

If the list view control has the LVS_AUTOARRANGE style, the items in the list view control are arranged after the position of the item is set.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.