ListView_SubItemHitTest macro (commctrl.h)

Determines which list-view item or subitem is located at a given position. You can use this macro or send the LVM_SUBITEMHITTEST message explicitly.

Syntax

void ListView_SubItemHitTest(
   hwnd,
   plvhti
);

Parameters

hwnd

Type: HWND

A handle to the list-view control that will be hit-tested.

plvhti

Type: LPLVHITTESTINFO

A pointer to an LVHITTESTINFO structure. The POINT structure within LVHITTESTINFO must be set to the client coordinates to be hit-tested.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h