Partager via


HDM_HITTEST (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

  • wParam
    Not used.
  • phdhti
    Pointer to an HDHITTESTINFO structure that contains the position to test and receive test result data.

Return Value

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

Requirements

Header

commctrl.h

See Also

Reference

Header Controls Messages
HDHITTESTINFO