• 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: Dragging a file out of an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging a file out of an NSTableView


  • Subject: Re: Dragging a file out of an NSTableView
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 26 Mar 2003 14:49:06 -0600

At 1:43 PM -0500 3/26/03, Greg Casey wrote:
In order to drag anything out of an NSTableView to another application like the Finder, you have to override this NSTableView method:

- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal

The default method returns NSDragOperationNone if !isLocal.

I'm doing that now, thanks.

It looks like I'm going to have to follow Olivier's advice and use the workaround until Apple fixes the dragging API or the private data in a file-promise drag is made public.

Thanks to everyone for the help. I'll try and get back to the group when I've got this working, and let everyone know what worked.

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Application Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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: [OT] Subversion
  • Next by Date: [OT] Macho Love
  • Previous by thread: Re: Dragging a file out of an NSTableView
  • Next by thread: [ANN] Part 2 of integrating Cocoa and VTK article published
  • Index(es):
    • Date
    • Thread