LHITTESTINFO (Compact 2013)
3/28/2014
This structure is used in the LM_HITTEST method to retrieve information about the link that corresponds to a given location.
Syntax
typedef struct tagLHITTESTINFO{
POINT pt ;
LITEM item ;
} LHITTESTINFO, *PLHITTESTINFO ;
Members
- pt
A POINT that contains the location for the hit-test, in client coordinates (not screen coordinates).
- item
An LITEM structure that receives information about the link that corresponds to pt.
Remarks
To convert from screen coordinates to client coordinates, use the ScreenToClient function.
Note
If the LM_HITTEST message succeeds, the system fills in LITEM.iLink and LITEM.szID. If the LM_HITTEST message fails, do not assume that any information in LITEM is valid.
Requirements
Header |
commctrl.h |