• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dragging from NSCollectionView in inactive window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging from NSCollectionView in inactive window?


  • Subject: Re: Dragging from NSCollectionView in inactive window?
  • From: Rick Mann <email@hidden>
  • Date: Sun, 10 Mar 2013 16:51:18 -0700

On Mar 10, 2013, at 16:47 , Rick Mann <email@hidden> 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@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

References: 
 >Dragging from NSCollectionView in inactive window? (From: Rick Mann <email@hidden>)

  • Prev by Date: Dragging from NSCollectionView in inactive window?
  • Next by Date: Dragging NSManagedObject subclass within app
  • Previous by thread: Dragging from NSCollectionView in inactive window?
  • Next by thread: Dragging NSManagedObject subclass within app
  • Index(es):
    • Date
    • Thread