LVM_HITTEST message
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 3/6/2012
Unclear description for wParam
Must be 0. Windows Vista. Should be -1 if the iGroup and iSubItem members of the lParam structure are to be retrieved.
Does this mean that it should be -1 with Vista+ and iGroup/iSubItem request, and zero otherwise?
- 5/26/2011
- Roman Ryltsov
- 11/3/2011
- Thomas Lee