Re: NSMatrix drag & drop
Re: NSMatrix drag & drop
- Subject: Re: NSMatrix drag & drop
- From: Scott Anguish <email@hidden>
- Date: Tue, 19 Aug 2003 01:08:30 -0400
On Tuesday, August 19, 2003, at 12:22 AM, Dave Riggle wrote:
My little iPhoto-like app is coming along. Selection and drag & drop
are mostly working. I have a few new questions:
1. NSMatrix's mouseDown() function eats drag events. Is there a clean
way to overrride it so I can get drag events without having to
re-implement all the shift-click, cmd-click, double click logic?
you'd want to implement the mouseDrag() I think.
3. How do I get the cursor to change into a "+" arrow when I drag an
image to the finder? Right now I am putting a TIFF on the pasteboard.
Is that the problem? I plan on putting file names there eventually.
in my NSMatrix subclass:
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)flag
{
return NSDragOperationCopy;
}
I think so, yes.
_______________________________________________
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.