Re: Disable the drag snap-back?
Re: Disable the drag snap-back?
- Subject: Re: Disable the drag snap-back?
- From: Ammon Skidmore <email@hidden>
- Date: Thu, 7 Feb 2002 17:53:21 -0700
If you're starting the drag with -[NSView
dragImage:at:offset:event:pasteboard:source:slideBack:] or -[NSView
dragFile:fromRect:slideBack:event:], then this is what the
"slideBack:" parameter is for. If you're not starting the drag
using this method, then I'd have to ask: why not?
Ohh, I hadn't discovered NSView's drag calls yet. Thanks!
I wasn't using the above approach because I was letting NSTableView
take care of initiating the drag for me, while I just specified the
custom image (-[NSTableView dragImageForRows...). While I was able
to find out about the drag from -draggedImage:..., I was unable to
find a way to modify the drag's snap-back behavior after
instantiation (as one can do with Carbon DragRefs).
-Ammon
--
Skidperfect Software <
http://www.skidperfect.com/>
_______________________________________________
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.