• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disable the drag snap-back?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Disable the drag snap-back? (From: email@hidden)

  • Prev by Date: Re: inserting images in NSTextView
  • Next by Date: Re: newbie question on 'Cocoa Programming for Mac OS X'
  • Previous by thread: Disable the drag snap-back?
  • Next by thread: Removing table rows while editing?
  • Index(es):
    • Date
    • Thread