HDHITTESTINFO
This structure contains information about a hit test. This structure is used with the HDM_HITTEST message.
typedef struct _HD_HITTESTINFO {
POINT pt;
UINT flags;
int iItem; }
HD_HITTESTINFO;
Members
pt
Points to test, in client coordinates.flags
Receives information about the results of a hit test. It can be one or more of the following values.Value Description HHT_NOWHERE The point is inside the header controls bounding rectangle but is not over a header item. HHT_ONDIVIDER The point is on the divider between two header items. HHT_ONDIVOPEN The point is on the divider of an item that has a width of zero. Dragging the divider reveals the item instead of resizing the item to the left of the divider. HHT_ONHEADER The point is inside the header controls bounding rectangle. HHT_TOLEFT The point is to the left of the header controls bounding rectangle. HHT_TORIGHT The point is to the right of the header controls bounding rectangle. Two of these values can be combined, such as when the position is above and to the left of the client area.
iItem
Receives the index of item at point, if any.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.