HDM_HITTEST

This message tests a point to determine which header item, if any, is at the specified point.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

HDM_HITTEST wParam = 0;
lParam = (LPARAM)(HD_HITTESTINFO FAR *) phdhti;

Parameters

phdhti

Pointer to an HDHITTESTINFO structure that contains the position to test and receive test result data.

Return Values

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

See Also

HD_HITTESTINFO