(int, int, int, int) = GetItemRect(item, bTextOnly )

Retrieves the bounding rectangle of a list view item.


item : int

Index of the item whose Data is to be set.

bTextOnly : int

f this parameter is nonzero, the bounding rectangle includes only the text of the item. Otherwise it includes the entire line that the item occupies in the list view control.