简体   繁体   中英

Implement IDropTarget

I would like to drag and drop files from windows explorer onto my application which is being built in Codegear RAD studio 2009. Then I would like to be able to access data from the object I am dragging and dropping. I believe I have to implement IDropTarget. Can someone please provide an example of how I might implement IDropTarget to achieve this?

迈克尔·邓恩(Michael Dunn)在codeproject.com上写了一个很好的示例 ,该示例演示了如何实现IDropTarget并从IDataObject内部访问数据,该对象用于在拖放操作期间存储数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM