LVM_HITTEST  6_6HGN 

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_HitTest3CUJEN macro.

LVM_HITTEST

wParam = 0;

lParam = (LPARAM) (LV_HITTESTINFO FAR *) pinfo;

 

Parameters

pinfo

Pointer to an LV_HITTESTINFO structure that contains the position to hit test and receives information about the results of the hit test.

 

Return Values

Returns the index of the item at the specified position, if any, or -1 otherwise.

See Also

ListView_HitTest, LV_HITTESTINFO