• 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
NSTrackingInVisibleRect not working when view is resized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTrackingInVisibleRect not working when view is resized


  • Subject: NSTrackingInVisibleRect not working when view is resized
  • From: Steve Mills <email@hidden>
  • Date: Tue, 26 Feb 2013 14:46:14 -0600

I have an NSControl subclass that has installed an NSTrackingAread for (NSTrackingInVisibleRect | NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingCursorUpdate | NSTrackingActiveInKeyWindow). This control can resize itself while tracking the mouse in its mouseDown method. If, after mouse-up, the mouse ends up outside the *original* frame, but is still inside the current frame, I'm getting a mouseExited. So it's like the NSTrackingArea code is caching an old frame or something like that instead of getting it directly from the view. Or is this some "undocumented behavior" I'm seeing?

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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: NSTrackingInVisibleRect not working when view is resized
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: archiving report
  • Next by Date: Re: archiving report
  • Previous by thread: Re: archiving report
  • Next by thread: Re: NSTrackingInVisibleRect not working when view is resized
  • Index(es):
    • Date
    • Thread