• 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
Re: Mouse entered and exited events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse entered and exited events


  • Subject: Re: Mouse entered and exited events
  • From: Allan Odgaard <email@hidden>
  • Date: Tue, 27 Aug 2002 20:53:31 +0200

On tirsdag, aug 27, 2002, at 19:23 Europe/Copenhagen, John Anderson wrote:

Most of the UI elements are subclasses of NSResponder, and therefore you can subclass them and respond to the mouseEntered: and mouseExited: messages. Depending on the type of control you're dealing with, there may be a more indirect method for this.

You'd need to setup a tracking rectangle first, otherwise these methods will not be called.

See NSView's addTrackingRect:owner:userData:assumeInside:
--
http://www.diku.dk/students/duff/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Mouse entered and exited events (From: John Anderson <email@hidden>)

  • Prev by Date: Re: AddressBook - ABMultiValue
  • Next by Date: Re: Oddity with Windows
  • Previous by thread: Re: Mouse entered and exited events
  • Next by thread: Re: Mouse entered and exited events
  • Index(es):
    • Date
    • Thread