LVM_HITTEST

This 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.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_HitTest

Syntax

LVM_HITTEST wParam = 0;
lParam = (LPARAM)(LV_HITTESTINFO FAR *) pinfo;

Parameters

pinfo

Pointer to an LVHITTESTINFO structure that contains the position to hit test and receives hit test result data.

Return Values

The index of the item at the specified position, if any, indicates success. –1 indicates failure.

See Also

LV_HITTESTINFO