SAMPLE: Drgdrps.exe OLE Drag-Drop SourceID: Q122955
|
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.
The following file is available for download from the Microsoft
Download Center. Click the file name below to download the file:
Drgdrps.exeFor 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.aspand then click How to use the Microsoft Download Center.
Q122954 SAMPLE: Drgdrpt.exe OLE Drag-Drop TargetSee 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. |