INameSpaceTreeControlDropHandler interface (shobjidl.h)

Exposes handler methods for drag-and-drop. Used by the namespace tree control to notify the client of any drag-and-drop operation happening within the control. Provides a way for a client to intercept a drop operation and perform its own action, or to return the desired drop effect.

Inheritance

The INameSpaceTreeControlDropHandler interface inherits from the IUnknown interface. INameSpaceTreeControlDropHandler also has these types of members:

Methods

The INameSpaceTreeControlDropHandler interface has these methods.

 
INameSpaceTreeControlDropHandler::OnDragEnter

Called on drag enter to set drag effect, as specified.
INameSpaceTreeControlDropHandler::OnDragLeave

Called on drag leave for a specified item.
INameSpaceTreeControlDropHandler::OnDragOver

Called on drag over to set drag effect, as specified.
INameSpaceTreeControlDropHandler::OnDragPosition

Called when the item is being dragged within the same level (within the same parent folder) in the tree.
INameSpaceTreeControlDropHandler::OnDrop

Called on drop to set drop effect, as specified.
INameSpaceTreeControlDropHandler::OnDropPosition

Called when the item is being dropped within the same level (within the same parent folder) in the tree.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h

See also

IDataObject

IDropTarget

INameSpaceTreeControl