Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New to drag and drop




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.