On 11 May 2010, at 19:00, Uli Kusterer wrote:

> On May 11, 2010, at 7:46 PM, Sandro Noël wrote:
>> Question: is it possible for the drag operation to be ignored by everything 
>> except the main window?
> 
> You could create a custom content view and override NSView's -hitTest: method 
> to return self, I suppose? You'd need a flag to only do that during drags 
> though, not sure how you'd detect that reliably, particularly since a user 
> could drag to the desktop and then drag that back.
> 
From my own experimentation that wouldn't work as dragging actually uses its 
own private hit-testing method. I may have misremembered that though.

_______________________________________________

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