• 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
Setting Application cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Application cursor


  • Subject: Setting Application cursor
  • From: David Alter <email@hidden>
  • Date: Wed, 14 Oct 2009 14:42:59 -0700

I need to set a cursor for the application when it is in specific states. I
have been doing this by creating by cursor and calling set.

[[NSCursor crosshairCursor] set];

If the application is deactivated. When you activate the application the
cursor needs to be reset. I tried doing this in
NSApplicationDidBecomeActiveNotification and that is not working. I suspect
it is getting set but then it is getting set back to the pointer. Any
suggestions on when I should set this after my application becomes active.

thanks for the help
-dave
_______________________________________________

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

  • Follow-Ups:
    • Re: Setting Application cursor
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Positioning NSWindow center to Application main window?
  • Next by Date: Re: Setting Application cursor
  • Previous by thread: Re: Positioning NSWindow center to Application main window?
  • Next by thread: Re: Setting Application cursor
  • Index(es):
    • Date
    • Thread