On Mar 10, 2013, at 16:47 , Rick Mann <[email protected]> wrote:
> Hi. I have a library window with items in an NSCollectionView that I'd like
> to be able to drag from without first making the window active. Is this
> possible?
>
> I see I can set -[NSView acceptsFirstMouse:], but that will make it accept
> all mouse clicks and then make the window active. I want Finder-like dragging
> behavior, where a drag can be initiated without making the drag source window
> active.
>
> I figure this is a common question, but I'm having a terrible time with the
> internet connection where I am currently, and the few searches I was able to
> do didn't seem to return relevant results.
And suddenly I found the solution!
http://cocoadev.com/wiki/PreventWindowOrdering
(I have yet to test this.)
--
Rick
_______________________________________________
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]