Partager via


TTHITTESTINFO (Compact 2013)

3/28/2014

This structure contains information that a ToolTip control uses to determine whether a point is within the bounding rectangle of the specified tool. If the point is in the rectangle, the structure receives information about the tool.

Syntax

typedef struct _TT_HITTESTINFO {
  HWND hwnd;
  POINT pt;
  TTTOOLINFO ti;
} TTHITTESTINFO, FAR* LPTTHITTESTINFO;

Members

  • hwnd
    Handle to the tool or window that contains the tool.
  • pt
    POINT structure that specifies the client coordinates of the point that you want to test.
  • ti
    TOOLINFO structure that receives information about the tool if the point specified by pt is in the tool specified by hwnd. You must set the cbSize member of this TOOLINFO structure before you send a TTM_HITTEST message.

Remarks

Use this structure with the TTM_HITTEST message.

Requirements

Header

commctrl.h

See Also

Reference

ToolTips Structures
TTM_HITTEST
POINT
TOOLINFO