• 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
Accepting a drag op without returning from acceptDrop Hi, I'm trying to find a way to reply to receiving a drop on my NSTableView (in the acceptDrop delegate method) without having to return from the method itself. Normally you return "YES" or "NO" but my app has to wait for a user response and needs to tell the drag sender that the drag has been accepted before returning. Nothing found in the documentation as yet, is there some trick to make this happen? Without it the drag eventually times out and the drag icon slides back to the source. Regards, Tim.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accepting a drag op without returning from acceptDrop Hi, I'm trying to find a way to reply to receiving a drop on my NSTableView (in the acceptDrop delegate method) without having to return from the method itself. Normally you return "YES" or "NO" but my app has to wait for a user response and needs to tell the drag sender that the drag has been accepted before returning. Nothing found in the documentation as yet, is there some trick to make this happen? Without it the drag eventually times out and the drag icon slides back to the source. Regards, Tim.


  • Subject: Accepting a drag op without returning from acceptDrop Hi, I'm trying to find a way to reply to receiving a drop on my NSTableView (in the acceptDrop delegate method) without having to return from the method itself. Normally you return "YES" or "NO" but my app has to wait for a user response and needs to tell the drag sender that the drag has been accepted before returning. Nothing found in the documentation as yet, is there some trick to make this happen? Without it the drag eventually times out and the drag icon slides back to the source. Regards, Tim.
  • From: Tim Hewett <email@hidden>
  • Date: Thu, 30 Oct 2003 18:19:33 +0000

Hi,

I'm trying to find a way to reply to receiving a drop on
my NSTableView (in the acceptDrop delegate method)
without having to return from the method itself. Normally
you return "YES" or "NO" but my app has to wait for a
user response and needs to tell the drag sender that
the drag has been accepted before returning. Nothing
found in the documentation as yet, is there some trick
to make this happen? Without it the drag eventually
times out and the drag icon slides back to the source.

Regards,

Tim.
_______________________________________________
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.

  • Prev by Date: Re: drawAtPoint rendering thin, light text?
  • Next by Date: Re: Xcode's problems
  • Previous by thread: Re: Can anyone tell me what these errors mean? (PDF files attached)
  • Next by thread: Re: Xcode's problems
  • Index(es):
    • Date
    • Thread