This documentation is archived and is not being maintained.

OLE Drag-and-Drop and Data Transfer Classes

These classes are used in OLE data transfers. They allow data to be transferred between applications by using the Clipboard or through drag and drop.


Controls the drag-and-drop operation from start to finish. This class determines when the drag operation starts and when it ends. It also displays cursor feedback during the drag-and-drop operation.


Used when an application provides data for a data transfer. COleDataSource could be viewed as an object-oriented Clipboard object.


Represents the target of a drag-and-drop operation. A COleDropTarget object corresponds to a window on screen. It determines whether to accept any data dropped onto it and implements the actual drop operation.


Used as the receiver side to COleDataSource. COleDataObject objects provide access to the data stored by a COleDataSource object.