Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.76 KB

ole-drag-and-drop-and-data-transfer-classes.md

File metadata and controls

36 lines (30 loc) · 1.76 KB
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
cpp-windows
article
vc.classes.ole
C++
ActiveX classes [MFC]
OLE drag and drop [MFC], and data transfer classes
drag and drop [MFC], classes
data transfer [MFC], OLE
data transfer classes [MFC]
c8ab2825-ed69-4b88-8ae6-f368b94726b8
9
mikeblome
mblome
ghogen

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

Class Overview