• 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: dragPromisedFilesOfTypes clears drag pasteboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dragPromisedFilesOfTypes clears drag pasteboard


  • Subject: Re: dragPromisedFilesOfTypes clears drag pasteboard
  • From: The Karl Adam <email@hidden>
  • Date: Thu, 5 May 2005 10:01:51 -0400

This comes up very often on this list, so you should search for
Promise Drags at Cocoabuilder or mamasam for the previous discussions
of this topic. For some quick code you can look at:
http://matrixpointer.com/karl/2005/01/26/hfs-file-promises-in-cocoa/

There is more code necessary if your overriding a table or outline
view or any other specialized uses, but that is the crux of mu
solution to the problem you state.

-Karl

On 5/5/05, Robert Vasvari <email@hidden> wrote:
> The NSView method
> "dragPromisedFilesOfTypes:fromRect:source:slideBack:event:"
>  unfortunately clears the drag pasteboard by invoking
> declareTypes:owner. It thereby prevents me from
> putting additional info (like of type
> NSURLPasteboardType) on the drag pasteboard. Yes, I
> could use a private pasteboard, but then other apps
> could not use the data. I think,
> dragPromisedFilesOfTypes should not obliterate data
> for the types it does not use. Since this method does
> not return until the drag is over, I see no workaround
> this problem. Let me know if there is any.
> R
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.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
>
 _______________________________________________
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

References: 
 >dragPromisedFilesOfTypes clears drag pasteboard (From: Robert Vasvari <email@hidden>)

  • Prev by Date: Re: functions vs methods
  • Next by Date: Re: Library for User Management
  • Previous by thread: dragPromisedFilesOfTypes clears drag pasteboard
  • Next by thread: Library for User Management
  • Index(es):
    • Date
    • Thread