可可多窗口拖放示例 [英] Cocoa multi window drag and drop example

查看:182
本文介绍了可可多窗口拖放示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个可可例子,说明如何将图像从一个窗口拖到另一个窗口。如果不是,我想看到一个示例,显示在同一个窗口中从源和目的地拖动图像。如果有人链接到任何这样的例子,我将非常感谢。

I am looking for a cocoa example that illustrates how to drag an image from one window to another. If not I would like to see an example that shows dragging an image from a source and destination in the same window. If anyone has a link to any such examples I would greatly appreciate it.

推荐答案

给出了:

Searching for "drag and drop" on Apple's sample code page gives:

  • http://developer.apple.com/mac/library/samplecode/CocoaDragAndDrop/index.html
  • http://developer.apple.com/mac/library/samplecode/DragAndDrop_Shell/index.html
  • http://developer.apple.com/mac/library/samplecode/DragItemAround/index.html
  • http://developer.apple.com/mac/library/samplecode/DragNDropOutlineView/index.html

这篇关于可可多窗口拖放示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆