int GetItemRect( int nIndex, LPRECT lpRect ) const;
nIndex
Specifies the zero-based index of the item.
lpRect
Specifies a long pointer to a RECT data structure that receives the list-box client coordinates of the item.
Retrieves the dimensions of the rectangle that bounds a list-box item as it is currently displayed in the list-box window.
LB_ERR if an error occurs.
LB_GETITEMRECT