• 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
Re: Drag and drop in the same view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop in the same view?


  • Subject: Re: Drag and drop in the same view?
  • From: Marc Weil <email@hidden>
  • Date: Sat, 29 Mar 2003 10:14:16 -0500

Did you try nesting views in the main view as the "parts" of the main view?
That way, each individual sub-view will have its own set of dragging
messages.

-- Marc Weil


On 3/29/03 9:46 AM, "Oscar Morales Vivs" <email@hidden> wrote:

> Greetings. I want to do a custom view that is mostly just a custom
> NSMatrix. However, I wanted to implement custom drag & drop between
> parts of the view, and I don't know if it is possible to make a view
> the destination of a drag operation initiated in itself.
>
> The idea would be that when dragging starts a drag operation is
> started, but if it ends in the same view its only effect is to suap the
> cell values of the start and end point of the drag. If the drag went
> outside, the starting cell's values would be copied.
>
> Is it possible to do so? If it is, do I need to perform some trickery,
> or will the view be sent a dragEntered message just after drag starts
> in it?
>
> Thanks in advance for your help:
>
> Oscar Morales.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Drag and drop in the same view? (From: Oscar Morales Vivó <email@hidden>)

  • Prev by Date: Drag and drop in the same view?
  • Next by Date: Re: anObject? editing cell in NSTableView
  • Previous by thread: Drag and drop in the same view?
  • Next by thread: IB Inspector "Tag"
  • Index(es):
    • Date
    • Thread