This macro determines which list view item, if any, is at a specified position. You can use this macro or send the LVM_HITTEST message explicitly.
int ListView_HitTest( HWND hwnd, LV_HITTESTINFO FAR* pinfo );
- Handle to the list view control.
- Pointer to an LVHITTESTINFO structure that contains the position to hit test and receives information about the results of the hit test.
The index of the item at the specified position, if any, indicates success. –1 indicates failure.
Related message: LVM_HITTEST
|Runs on||Versions||Defined in||Include||Link to|
|Windows CE OS||1.0 and later||Commctrl.h|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.