LVM_HITTEST (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.