Re: Dragging files and folders into NSView subclasses
Re: Dragging files and folders into NSView subclasses
- Subject: Re: Dragging files and folders into NSView subclasses
- From: Michael Watson <email@hidden>
- Date: Fri, 20 Oct 2006 19:01:15 -0400
I thought this might have been an issue originally, but I'm only
targeting Tiger. Even after registering my drag type, -
draggingEnterered: never seems to trigger.
I've seen this:
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender
and this:
- (unsigned int) draggingEntered:sender
Is there a difference?
--
m
On 20 Oct, 2006, at 18:54, Nick Zitzmann wrote:
On Oct 20, 2006, at 4:49 PM, Michael Watson wrote:
I *think* I have.
In my NSView subclass:
Out of curiosity, are you targeting Panther or earlier? IIRC, the
Finder didn't set the NSFilenamesPboardType pasteboard until Tiger.
For older versions of the Finder, you have to use
CorePasteboardFlavorType 0x6675726C instead.
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