Windows Dev Center

TTHITTESTINFO structure

Contains information that a tooltip control uses to determine whether a point is in 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;
  TOOLINFO ti;
} TTHITTESTINFO, *LPHITTESTINFO;

Members

hwnd

Type: HWND

Handle to the tool or window with the specified tool.

pt

Type: POINT

Client coordinates of the point to test.

ti

Type: TOOLINFO

TOOLINFO structure. If the point specified by pt is in the tool specified by hwnd, this structure receives information about the tool. The cbSize member of this structure must be filled in before sending this message.

Remarks

This structure is used with the TTM_HITTEST message.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TTHITTESTINFOW (Unicode) and TTHITTESTINFOA (ANSI)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft