• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it possible to detour a drag and drop operation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Is it possible to detour a drag and drop operation?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Timer in drawing loop performance problems
  • Next by Date: Re: iPhone: detect if docked?
  • Previous by thread: Re: observeValueForKeyPath returns null in the change directory???
  • Next by thread: Re: Is it possible to detour a drag and drop operation?
  • Index(es):
    • Date
    • Thread