Re: addTrackingRect: some events are missing
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