Re: Getting Mouse Moved Events
Re: Getting Mouse Moved Events
- Subject: Re: Getting Mouse Moved Events
- From: Greg Titus <email@hidden>
- Date: Sat, 28 Dec 2002 16:59:49 -0800
On Saturday, December 28, 2002, at 03:18 PM, Michael Latta wrote:
Mostly I am annoied that the requirement to be first responder exists
at all. Having to notify the window that you want these events makes
sense from an efficiency point of view, but often (in my cases anyway)
I want to track the mouse moved to do highlighting in places where I
am NOT the first responder.
Hi Michael,
If you are doing highlighting on mouse over, you might want to look at
the documentation for tracking rects and -mouseEntered:, -mouseExited:
messages instead of using -mouseMoved:. Using tracking rects requires a
bit more setup, but it is an efficient way to handle these kinds of
highlighting, and it doesn't require being first responder.
Hope this helps,
- Greg
_______________________________________________
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.