title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OLE Drag-and-Drop and Data Transfer Classes | Microsoft Docs |
11/04/2016 |
|
article |
|
|
|
c8ab2825-ed69-4b88-8ae6-f368b94726b8 |
9 |
mikeblome |
mblome |
ghogen |
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.