SAMPLE: Drgdrpt.exe OLE Drag-Drop Target

ID: Q122954


The information in this article applies to:
  • Microsoft OLE Libraries for Windows and Win32s, version 2.02
  • Microsoft OLE Libraries, used with:
    • Microsoft Windows NT, versions 3.5, 3.51
    • Microsoft Windows 95


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

Drgdrpt.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

For an example of an OLE drag-drop source, please see the following article in the Microsoft Knowledge Base:
Q122955 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 kbsample kbDragDrop kbNTOS350 kbNTOS351 kbWinOS95 kbGrpCom kbDSupport LeTwoDdc
Version : WINDOWS:2.02,95; :
Platform : WINDOWS
Issue type :


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.