SAMPLE: Drgdrpt.exe OLE Drag-Drop Target

ID: Q122954

The information in this article applies to:

SUMMARY

OLE version 2.0 provides drag-drop functionality that allows data to be dragged between and within applications. Drgdrpt.EXE is a sample application for an OLE drag-drop target that allows data of format CF_TEXT to be dropped on it. Drgdrpt.exe implements the IDropTarget interface. It registers its main window as a drop target using RegisterDragDrop.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Drgdrpt.exe (size: 22679 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

For an example of an OLE drag-drop source, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q122955
   TITLE     : SAMPLE: Drgdrps.exe OLE Drag-Drop Source

See the SIMPDND sample in the OLE2 SDK for a more complex drag-drop example.

Additional query words: 4.00

Keywords          : kbcode kbfile LeTwoDdc 
Version           : WINDOWS:2.02,4.0;WINNT:3.5,3.51;
Platform          : NT WINDOWS

Last Reviewed: March 28, 1998