Re: Mouse entered and exited events
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:user
Data: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.