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

Drag and drop in the same view?


  • Subject: Drag and drop in the same view?
  • From: Oscar Morales Vivó <email@hidden>
  • Date: Sat, 29 Mar 2003 15:46:09 +0100

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.

  • Follow-Ups:
    • Re: Drag and drop in the same view?
      • From: Marc Weil <email@hidden>
  • Prev by Date: Delegate's methods of NSTextFields aren't called
  • Next by Date: Re: Drag and drop in the same view?
  • Previous by thread: Re: Delegate's methods of NSTextFields aren't called
  • Next by thread: Re: Drag and drop in the same view?
  • Index(es):
    • Date
    • Thread