Share via


LVM_HITTEST (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

List-View Controls Messages
LVHITTESTINFO