SAMPLE: DRGDRPS: OLE Drag-Drop SourceLast reviewed: June 4, 1996Article ID: Q122955 |
The information in this article applies to:
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 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.
You can find DRGDRPS.EXE (size: 25986 bytes) , a self-extracting file, on these services: On the www.microsoft.com home page, click the Support icon Click Knowledge Base, and select the product Enter kbfile DRGDRPS.EXE (size: 25986 bytes) , and click GO! Open the article, and click the button to download the file ftp ftp.microsoft.com Change to the Softlib/Mslfiles folder Get DRGDRPS.EXE (size: 25986 bytes) On the Edit menu, click Go To, and then click Other Location Type "mssupport" (without the quotation marks) Double-click the MS Software Library icon Find the appropriate product area Locate and Download DRGDRPS.EXE Dial (206) 936-6735 to connect to MSDL Download DRGDRPS.EXE (size: 25986 bytes) For additional information about downloading, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online ServicesSee the DRGDRPT sample for an example of an OLE drag-drop target. You can find DRGDRPT.EXE, a self-extracting file, on these services:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online ServicesSee the SIMPDND sample in the OLE2 SDK for a more complex drag-drop example.
|
Additional reference words: 2.02 3.50 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |