Compartir a través de


HDM_HITTEST

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

See Also

Reference

Header Controls Messages
HDHITTESTINFO