HDM_HITTEST message

Tests a point to determine which header item, if any, is at the specified point.

Parameters

wParam

Must be zero.

lParam

A pointer to an HDHITTESTINFO structure that contains the position to test and receives information about the results of the test.

Return value

Returns the index of the item at the specified position, if any, or 1 otherwise.

Requirements

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