TVHITTESTINFO structure (commctrl.h)
Contains information used to determine the location of a point relative to a tree-view control. This structure is used with the TVM_HITTEST message. The structure is identical to the TV_HITTESTINFO structure, but it has been renamed to follow current naming conventions.
Syntax
typedef struct tagTVHITTESTINFO {
POINT pt;
UINT flags;
HTREEITEM hItem;
} TVHITTESTINFO, *LPTVHITTESTINFO;
Members
pt
Type: POINT
Client coordinates of the point to test.
flags
Type: UINT
Variable that receives information about the results of a hit test. This member can be one or more of the following values:
hItem
Type: HTREEITEM
Handle to the item that occupies the point.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | commctrl.h |