Prev Next

TreeView_GetDropHilight info  Overview  Group

The TreeView_GetDropHilight macro retrieves the tree-view item that is the target of a drag-and-drop operation. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_DROPHILITE flag.

HTREEITEM TreeView_GetDropHilight(

    hwnd 

   );

Parameters

hwnd 
Handle to the tree-view control.

Return Values

Returns the handle to the item if successful or NULL otherwise.

See Also

TVM_GETNEXTITEM