NSTableView & NSDragOperation
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.