TreeView_HitTest
The TreeView_HitTest
macro determines the location of the specified point relative to the client
area of a tree-view control. You can use this macro or explicitly send the TVM_HITTEST
HTREEITEM TreeView_HitTest(
hwnd, |
|
lpht |
|
); |
|
Parameters
hwnd
Handle to the
tree-view control.
lpht
Pointer to a TV_HITTESTINFO
Return Values
Returns the
handle to the tree-view item that occupies the specified point or NULL if no
item occupies the point.
See Also