Partager via


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.

  • COleDropSource
    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.

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

  • COleDropTarget
    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.

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

See Also

Concepts

Class Library Overview