Contents Index Topic Contents | ||
Previous Topic: TTM_GETTOOLINFO Next Topic: TTM_NEWTOOLRECT |
TTM_HITTEST
TTM_HITTEST wParam = 0; lParam = (LPARAM) (LPHITTESTINFO) lphti;Tests a point to determine whether it is within the bounding rectangle of the specified tool and, if it is, retrieves information about the tool.
- Returns TRUE if the tool occupies the specified point, or FALSE otherwise.
- lphti
- Address of a TTHITTESTINFO structure. When sending the message, the hwnd member must specify the handle to a tool and the pt member must specify the coordinates of a point. If the return value is TRUE, the ti member (a TOOLINFO structure) receives information about the tool that occupies the point. The cbSize member of the ti structure must be filled in before sending this message.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.