ListView_HitTest (Windows CE 5.0)

Send Feedback

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.

intListView_HitTest( HWNDhwnd, LV_HITTESTINFOFAR* pinfo );

Parameters

  • hwnd
    Handle to the list-view control.
  • pinfo
    Pointer to an LVHITTESTINFO structure that contains the position to hit test and receives information about the results of the hit test.

Return Values

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

Remarks

Related message:LVM_HITTEST

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

LVM_HITTEST | List-View Controls Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.