Prev Next

TTHITTESTINFO info  Overview  Group

The 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.

typedef struct _TT_HITTESTINFO { // tthti 

    HWND hwnd; 

    POINT pt; 

    TOOLINFO ti; 

} TTHITTESTINFO, FAR * LPHITTESTINFO; 

 

Members

hwnd
Handle to the tool or window with the specified tool.
pt
Client coordinates of the point to test.
ti
A TOOLINFO structure. If the point specified by pt is in the tool specified by hwnd, this structure receives information about the tool. Before sending the TTM_HITTEST message, set the cbSize member of this structure to sizeof(TOOLINFO).

Remarks

This structure is used with the TTM_HITTEST message.

See Also

TOOLINFO, TTM_HITTEST