• 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: Dragging promised files and other types in the same drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging promised files and other types in the same drag


  • Subject: Re: Dragging promised files and other types in the same drag
  • From: Matthew Formica <email@hidden>
  • Date: Tue, 06 May 2003 13:36:51 -0700

I believe that dragPromisedFilesOfTypes:fromRect:source:slideBack:event:
calls down to dragImage:at:offset:event:pasteboard:source:slideBack:
eventually. So just override dragImage and add the additional types to the
pasteboard that you need.

- Matthew

On 5/6/03 10:36 AM, "James Eitzmann" <email@hidden> wrote:

> I need to be able to drag and drop within my own
> application and to other apps like the finder. Using
> the NSFilesPromisePboardType in the NSPasteboard
> declareTypes:: method, the finder does not accept the
> drop. If I use the
> dragPromisedFilesOfTypes:fromRect:source:slideBack:event:
> method on NSView, it works just fine. The problem is
> that I also need to support other flavors of dragging
> within the application for the same drag operation
> (i.e., a drag within the application is an application
> defined flavor, a drag to the finder is a promised
> file type flavor). Does anyone have suggestions for
> workarounds or fixes?
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.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.
_______________________________________________
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: 
 >Dragging promised files and other types in the same drag (From: James Eitzmann <email@hidden>)

  • Prev by Date: Re: MIME types?
  • Next by Date: Re: Narrative Open-Source Plotting Framework Released
  • Previous by thread: Dragging promised files and other types in the same drag
  • Next by thread: Tracking mouse activity in NSToolbar?
  • Index(es):
    • Date
    • Thread