Re: acceptsMouseMovedEvents?
Re: acceptsMouseMovedEvents?
- Subject: Re: acceptsMouseMovedEvents?
- From: "Brian O'Brien" <email@hidden>
- Date: Wed, 27 Apr 2005 14:44:25 -0600
On Apr 27, 2005, at 2:39 PM, Brian O'Brien wrote:
On Apr 27, 2005, at 2:32 PM, Brian O'Brien wrote:
In my subclass of NSImageView I want to receive mouse move events.
I defined the method acceptsMouseMovedEvents and returned true.
I also defined the method - (void)mouseMoved:(NSEvent *)theEvent
and put an NSLog message in that function. However I get no mouse
motion events.
in my init I did
[[self window] setAcceptsMouseMovedEvents:YES];
Still no events...
Is it because I don't have a tracking rect?
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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