Partager via


LVM_HITTEST (Compact 2013)

3/28/2014

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.

Syntax

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 Value

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

Remarks

Related macro ListView_HitTest

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages
LVHITTESTINFO