Prev Next
The ListView_SetItemPosition macro moves an item to a specified
position in a list view control, which must be in icon or small icon view. You
can use this macro or explicitly send the LVM_SETITEMPOSITION
message.
BOOL ListView_SetItemPosition(
HWND hwnd,
|
|
int i,
|
|
int x,
|
|
int y
|
|
);
|
|
Parameters
-
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.
Return Values
Returns TRUE if successful or FALSE otherwise.
Remarks
If the list view control has the LVS_AUTOARRANGE style, the list view control
is arranged after the position of the item is set.
See Also
LVM_SETITEMPOSITION
file: /Techref/os/win/api/win32/mac/src/mac02_11.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 10:01,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/mac/src/mac02_11.htm"> ListView_SetItemPosition</A> |
Did you find what you needed?
|
|