Export (0) Print
Expand All
Expand Minimize

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.

Parameters

wParam
Must be 0. Windows Vista. Should be -1 if the iGroup and iSubItem members of the lParam structure are to be retrieved.
lParam

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

Return value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft