Re: Mouse Drag Ignore.
Re: Mouse Drag Ignore.
- Subject: Re: Mouse Drag Ignore.
- From: Uli Kusterer <email@hidden>
- Date: Tue, 11 May 2010 20:00:27 +0200
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.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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