Is it possible to detour a drag and drop operation?
Is it possible to detour a drag and drop operation?
- Subject: Is it possible to detour a drag and drop operation?
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 15 Aug 2009 21:51:36 +0200
Problem:
--------
Let's say I have 2 windows:
+-------------------+ +-------------------+
+-------------------+ +-------------------+
| | | |
| +-----+ | | |
| | A | | | |
| +-----+ | | |
| | | |
+-------------------+ +-------------------+
When I drag item A from the window on the left to the window on the
right, I want to do this:
When the drop is validated in the right window (type of item
accepted), I would like to either display a window above the right
window or change the right window content to give the user a list of
more detailed possible drop locations.
Something like this:
+-------------------+ +-------------------+
+-------------------+ +--------+----------+
| | | | |
| +-----+ | | | |
| | A | | | Left | Right |
| +-----+ | | | |
| | | | |
+-------------------+ +--------+----------+
There's something like this in Final Cut Pro (http://www.geniusdv.com/
news_and_tutorials/assets_c/2009/04/superimpose3-
thumb-394x397-2264.gif).
Question:
---------
How could this be achieved in Cocoa?
I have tried with a window but the target of the drop does not get
changed.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden