LB_GETITEMRECT

This message retrieves the dimensions of the rectangle that bounds a list-box item as it is currently displayed in the list-box window.

Parameters

wParam

Contains an index to the item. The high-order word of wParam is not used.

lParam

Contains a long pointer to a RECT data structure that receives the list-box client coordinates of the item.

Return Value

The return value is LB_ERR if an error occurs.