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

Re: New to drag and drop


  • Subject: Re: New to drag and drop
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 21 Apr 2008 17:40:19 -0600


On Apr 21, 2008, at 2:23 PM, Mark Thomas wrote:

1) I have a webkit control which covers the whole window, would the drop
message be sent to the parent ?


2) Or should I be putting operating this on the Webkit control ?


DnD implementations vary a bit. Views that display what its data source (or delegate, in the case of NSBrowser) tells it to display have methods allowing the data source to customize DnD. WebView, as it turns out, does have a method that is supposed to be called when performing a drag, -webView:willPerformDragDestinationAction:..., but due to a bug introduced in Leopard, it isn't.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >New to drag and drop (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: SynchroScrollView
  • Next by Date: How to import drawing paths into a Cocoa application?
  • Previous by thread: New to drag and drop
  • Next by thread: Cocoa support for serial port access?
  • Index(es):
    • Date
    • Thread