Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
- Subject: Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 27 Apr 2006 15:20:12 -0600
On Apr 27, 2006, at 3:15 PM, Simon Liu wrote:
My custom tableview implements behaviour similar to iTunes, where
clicking on a certain column (e.g. Title) of an already selected row,
lets the user edit that cell. This is handled in my custom
-mouseDown:
If the user drags that cell of the already selected row, iTunes starts
a drag session. So to implement this second behaviour, I added a
modal loop in my -mouseDown: where I can catch NSLeftMouseDragged and
NSLeftMouseUp.
I guess I still don't understand; NSTableView has its own built-in
drag session support and it sounds like you're trying to override it.
Why? Things ought to work as expected if you use the built-in drag
support instead of short-circuiting -mouseDown:.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden