NSView mouseMoved problem
NSView mouseMoved problem
- Subject: NSView mouseMoved problem
- From: Sanjay Arora <email@hidden>
- Date: Tue, 18 Dec 2012 13:56:47 +0530
- Thread-topic: NSView mouseMoved problem
Hi ,
I want to receive mouseMoved on NSView of my window.
I have set
[self setAcceptsMouseMovedEvents:YES]; on my window and
-(BOOL)acceptsFirstResponder returns yes.
I do get mouseMoved event on my nsview, but the problem is I get these
messages even if the mouse is not over my window, as long as is has the
focus.
Also, more problem is that if there is a window on top of my window (and
I move the mouse on the top window) even then I get these messages in my
nsview for my window (as noted in nsevent)?
Any thought? If this is a default behaviour od there is something I am
doing wrong.
-San
_______________________________________________
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