Re: Cannot get mouseMoved in NSView
Re: Cannot get mouseMoved in NSView
- Subject: Re: Cannot get mouseMoved in NSView
- From: email@hidden
- Date: Sun, 28 May 2006 18:56:50 -0700
strange - can you do a bit of debugging (view's -becomeFirstResponder et
cetera) and see if the view in question is in fact made first responder when
you are expecting it to receive mouseMoved events? you could also override
your window's -sendEvent: and check to see who is first responder when
processing the mouseMoved events...
i believe henry is correct in his assessment about tracking rects being
unavailable at init time.
On 5/28/06, Lorenzo <email@hidden> wrote:
I did it already. I overrided the method acceptsFirstResponder in my view
- (BOOL)acceptsFirstResponder { return YES; }
I even added a trackingRect in the init method of my view
[self addTrackingRect:[self bounds] owner:self userData:nil
assumeInside:NO];
...but no luck. Other ideas?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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