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.
LVM_HITTEST wParam = 0;
lParam = (LPARAM)(LV_HITTESTINFO FAR *) pinfo;
Parameters
- wParam
Not used. - 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.
Remarks
Related macro: ListView_HitTest
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
LVHITTESTINFO | List-View Controls Messages
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.