• 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: NSDragOperation for operationNotAllowedCursor !!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDragOperation for operationNotAllowedCursor !!


  • Subject: Re: NSDragOperation for operationNotAllowedCursor !!
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Jun 2011 10:23:52 -0700

On Thu, Jun 16, 2011 at 9:29 AM, Raleigh Ledet <email@hidden> wrote:
> In the meantime, you can create your own cursor with your own cursor image and set it manually. You'll be fighting the system a bit, but if you time it right, you should be ok.

Yea, this is what you're gonna have to do. NSDragOperationNone results
in an unbadged cursor.

I've been wishing for a while for a simple NSDraggingInfo method
called -setCursor: that would make it possible for custom cursors to
work for both in-app and cross-app drags. You can fake it yourself
using -pushCursor, but the logic is kind of subtle, and I'm iffy on
whether it breaks when the user drags out of your view and into
another app.

--Kyle Sluder
_______________________________________________

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: 
 >NSDragOperation for operationNotAllowedCursor !! (From: Naresh Kongara <email@hidden>)
 >Re: NSDragOperation for operationNotAllowedCursor !! (From: Raleigh Ledet <email@hidden>)

  • Prev by Date: Re: Custom NSSlider
  • Next by Date: Re: Interface item validation through first responder
  • Previous by thread: Re: NSDragOperation for operationNotAllowedCursor !!
  • Next by thread: NSDragOperation for operationNotAllowedCursor !!
  • Index(es):
    • Date
    • Thread