Microsoft KB Archive/122955

-

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.02 and later provide drag-drop functionality that allows data to be dragged between and within applications. DRGDRPS is a sample that provides an OLE drag-drop Source that allows data of format CF_TEXT to be dragged from it.

The Drgdrps.exe sample implements IDataObject, IDropSource, and IEnumFormatEtc interfaces. It calls DoDragDrop when the user clicks on its main window to initiate a drag. It allows copying of data by dragging to a drag-drop target.

MORE INFORMATION
The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

"Drgdrps.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.

To see the DRGDRPT sample for an example of an OLE drag-drop target, please see the following article in the Microsoft Knowledge Base:

"Q122954 SAMPLE: Drgdrpt.exe OLE Drag-Drop Target" 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 :