The LVM_HITTEST message determines which list view item, if any, is at a specified position. You can send this message explicitly or by using the ListView_HitTest macro.
LVM_HITTEST wParam = 0; lParam = (LPARAM) (LV_HITTESTINFO FAR *) pinfo;
Returns the index of the item at the specified position, if any, or -1 otherwise.
ListView_HitTest, LV_HITTESTINFO
Questions: