• 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
drag and delete.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drag and delete.


  • Subject: drag and delete.
  • From: mac <email@hidden>
  • Date: Sun, 16 Dec 2001 12:22:53 -0800

When a drag is performed from a table view and is dropped on the desktop the finder
creates a file. How do I stop this? What I want is to delete the column of data.

Using "draggedImage:endedAt:operation", I can determine if they dropped it in the trash, because the operation will be NSDragOperationDelete, and delete the column of data no problem.

The type I'm putting on the pasteboard is NSString. Should I change this?

Also, it does not seem to care about what is returned in "draggingSourceOperationMaskForLocal", why? I tried returning NSDragOperationNone and NSDragOperationDelete. Both times I get the same response.

Thanks for any help,

mac


  • Prev by Date: Re: Implementing OpenGL using GLUT or simply native OpenGL...
  • Next by Date: using dragImageForRows:event:dragImageOffset
  • Previous by thread: Re: Print Panel as sheet
  • Next by thread: using dragImageForRows:event:dragImageOffset
  • Index(es):
    • Date
    • Thread