ListView_GetItemPosition

The ListView_GetItemPosition macro retrieves the position of a list view item. You can use this macro or explicitly send the LVM_GETITEMPOSITION message.

BOOL ListView_GetItemPosition(

HWND hwnd,  
int i,  
POINT FAR *ppt  
);  

Parameters

hwnd

Handle to the list view control.

i

Index of the list view item.

ppt

Pointer to a POINT structure that receives the position of the item's upper-left corner, in view coordinates.

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

LVM_GETITEMPOSITION, POINT