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 protected])

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to