• 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: NSTrackingArea strange requirement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTrackingArea strange requirement


  • Subject: Re: NSTrackingArea strange requirement
  • From: Rob Keniger <email@hidden>
  • Date: Fri, 28 Nov 2008 13:36:30 +1000


On 27/11/2008, at 10:22 PM, rajesh wrote:

but I see a kind of problem with above approach as well.
Since we are updating the TrackingAreas in updateTrackingAreas (removing and adding track areas) , my cursor (which is set to "resizeUpDownCursor" mouseEntered: ) seems to flicker when ever try updating/resizing my view due to the fact that trackAreas are changed every time.

You shouldn't be using -mouseEntered: to set the cursor. You should init the tracking area with the NSTrackingCursorUpdate option and then implement the -cursorUpdate: method.


--
Rob Keniger



_______________________________________________

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: NSTrackingArea strange requirement
      • From: rajesh <email@hidden>
References: 
 >NSTrackingArea strange requirement (From: rajesh <email@hidden>)
 >Re: NSTrackingArea strange requirement (From: Quincey Morris <email@hidden>)
 >Re: NSTrackingArea strange requirement (From: rajesh <email@hidden>)
 >Re: NSTrackingArea strange requirement (From: Rob Keniger <email@hidden>)
 >Re: NSTrackingArea strange requirement (From: rajesh <email@hidden>)

  • Prev by Date: Re: Capturing the mouse and working out the mouse position
  • Next by Date: Re: What is the best way to get an NSSlider to respond to the mouse scroll wheel?
  • Previous by thread: Re: NSTrackingArea strange requirement
  • Next by thread: Re: NSTrackingArea strange requirement
  • Index(es):
    • Date
    • Thread