Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

POINTstructure that specifies the client coordinates of the point that you want to test.

ti

TOOLINFOstructure that receives information about the tool if the point specified by ptis in the tool specified by hwnd. You must set the cbSizemember of this TOOLINFOstructure before you send a TTM_HITTESTmessage.

Remarks

Use this structure with the TTM_HITTEST message.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also