IDropTarget interface (oleidl.h)
The IDropTarget interface is one of the interfaces you implement to provide drag-and-drop operations in your application. It contains methods used in any application that can be a target for data during a drag-and-drop operation. A drop-target application is responsible for:
- Determining the effect of the drop on the target application.
- Incorporating any valid dropped data when the drop occurs.
- Communicating target feedback to the source so the source application can provide appropriate visual feedback such as setting the cursor.
- Implementing drag scrolling.
- Registering and revoking its application windows as drop targets.
The IDropTarget interface inherits from the IUnknown interface. IDropTarget also has these types of members:
The IDropTarget interface has these methods.
Indicates whether a drop can be accepted, and, if so, the effect of the drop.
Removes target feedback and releases the data object.
Provides target feedback to the user and communicates the drop's effect to the DoDragDrop function so it can communicate the effect of the drop back to the source.
Incorporates the source data into the target window, removes target feedback, and releases the data object.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|