• 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
NSTableView & NSDragOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView & NSDragOperation


  • Subject: NSTableView & NSDragOperation
  • From: Keith Renz <email@hidden>
  • Date: Mon, 27 Jan 2003 15:02:28 -0500

I am working on implementing drag and drop in a table view. I have the following question...

In my implementation of tableView:validateDrop:proposedRow:proposedDropOperation:, I return either NSDragOperationMove (16) or NSDragOperationCopy (1). Then in my implementation of tableView:acceptDrop:row:dropOperation:, I want to check this value, but [info draggingSourceOperationMask] always returns NSDragOperationAll_Obsolete (15). Maybe draggingSourceOperationMask is not what I'm looking for. If not, how can I access the NSDragOperation returned by tableView:validateDrop:proposedRow:proposedDropOperation:?

Thanks,

Keith
_______________________________________________
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: FindFolder() and Cocoa
  • Next by Date: NSPorts
  • Previous by thread: Re: How to determine if a data blob is a plist ?
  • Next by thread: NSPorts
  • Index(es):
    • Date
    • Thread