• 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: addTrackingRect: some events are missing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: addTrackingRect: some events are missing


  • Subject: Re: addTrackingRect: some events are missing
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 30 May 2006 06:49:12 -0500

On Tuesday, May 30, 2006, at 05:13AM, Hugues Pichereau <email@hidden> wrote:

>I'm having trouble with the addTrackingRect: method of NSView.
>With a single tracking rect, it works fine. But with two rects with
>close borders, nested or not, but not overlapping, when the mouse
>moves fast, only one event is received (in mouseEntered: or
>mouseExited:), instead of two (one for each tracking rect).

I've never had this issue at all.  I think someone else saw this a while back, so at least search the archives for what the solution was.

What does your code look like? I do work in both viewWillMoveToWindow (clears out tracking rects) and viewDidMoveToWindow (sets tracking rects and computes the 'assume mouse inside' flag appropriately).

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >addTrackingRect: some events are missing (From: Hugues Pichereau <email@hidden>)

  • Prev by Date: DIsplaying non-english characters
  • Next by Date: Re: DIsplaying non-english characters
  • Previous by thread: addTrackingRect: some events are missing
  • Next by thread: NSRulerView: distance between two neighbouring hash marks
  • Index(es):
    • Date
    • Thread