Contents Index Topic Contents | ||
Previous Topic: ListView_SetItemCountEx Next Topic: ListView_SetItemPosition32 |
ListView_SetItemPosition
BOOL ListView_SetItemPosition( HWND hwnd, int i, int x, int y );Moves an item to a specified position in a list view control (in icon or small icon view). You can use this macro or send the LVM_SETITEMPOSITION message explicitly.
- Returns TRUE if successful, or FALSE otherwise.
- hwnd
- Handle to the list view control.
- 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 list view control is arranged after the position of the item is set.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.