mouseMoved in NSTextView
mouseMoved in NSTextView
- Subject: mouseMoved in NSTextView
- From: Dimitri Bouniol <email@hidden>
- Date: Sat, 3 Feb 2007 19:09:22 -0800
In a subclass of NSTextView, I have a mouseMoved: method.
I would like to get the mouse moved events all the time, but I
currently only get them when the NSTextView is the first responder.
How can I constantly get mouseMoved events even if the view is not a
first responder?
I already tried setting setAcceptsMouseMovedEvents:YES on the window,
but that created an undesirable effect where the method would get
called even if the cursor was not on the view (like above it when the
text view is scrolled)
Can anyone help me out?
--
Dimitri Bouniol
email@hidden
http://web.mac.com/dimitri008/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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