• 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: drag and drop on Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drag and drop on Dock


  • Subject: Re: drag and drop on Dock
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 10 Jun 2004 11:55:07 +0200

Am 10.06.2004 um 06:24 schrieb Ramakrishna Kondapalli:

How
can i know that the dragged cell (nothing but file) properties will
match the selected Application in the dock?

You don't. The accepting app will decide.

http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/

For example if the select a
cell creator code and content type will match with the Application then
only it should accept else it should raise an error.

You need to write the correct pasteboard type. I think what you need is a "HFS Promise Drag". See "Dragging File Promises":

http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/ Tasks/DraggingFiles.html


Andreas
_______________________________________________
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: 
 >drag and drop on Dock (From: "Ramakrishna Kondapalli" <email@hidden>)

  • Prev by Date: Re: How to create a easy of use Installer?
  • Next by Date: Re: Multiple NSDocument Types in a Document-Based Architecture
  • Previous by thread: drag and drop on Dock
  • Next by thread: two things (newbie)
  • Index(es):
    • Date
    • Thread