• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
mouseMoved in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: mouseMoved in NSTextView
      • From: Dominik Pich <email@hidden>
  • Prev by Date: Discovering the default gateway address
  • Next by Date: Re: Discovering the default gateway address
  • Previous by thread: Re: Discovering the default gateway address
  • Next by thread: Re: mouseMoved in NSTextView
  • Index(es):
    • Date
    • Thread