• 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: NSDragOperationDelete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDragOperationDelete


  • Subject: Re: NSDragOperationDelete
  • From: Steve Gehrman <email@hidden>
  • Date: Mon, 7 Oct 2002 15:36:09 -0700

I got it working for the case with Cocoa....

I was calling...

SetStandardDropLocation(theDrag, kDragStandardDropLocationTrash);

The Finder works with just this code, but for Cocoa, I had to add..

SetDragDropAction(theDrag, kDragActionDelete);

-steve

On Monday, October 7, 2002, at 03:05 PM, Finlay Dobbie wrote:

>
> On Monday, October 7, 2002, at 08:27 pm, Steve Gehrman wrote:
>
>> Is the Dock written in Cocoa?
>
> The Dock is written in Carbon/Cocoa/CGS/CG/a whole mess of other
> things. It uses large numbers of private, undocumented APIs. Just
> because the Dock does something doesn't necessarily mean anything
> useful to the rest of us :-)
>
> -- Finlay
_______________________________________________
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.

  • Prev by Date: Re: NSMutableArray performance
  • Next by Date: Can I get AppKit to draw this faster ?
  • Previous by thread: Re: NSMutableArray performance
  • Next by thread: Can I get AppKit to draw this faster ?
  • Index(es):
    • Date
    • Thread