Re: Receiving mouseEnter and mouseExit events.

2008-09-24 Thread Mattias Arrelid
On Tue, Aug 19, 2008 at 23:50, David Alter <[EMAIL PROTECTED]> wrote: > I just realized that NSTrackingArea is 10.5 and up. I need to support 10.4. > mouseEntered and mouseExited have been part of NSResponder from 10.0. To > receive these events in 10.4 what should I do? Sorry for the very late re

Re: Receiving mouseEnter and mouseExit events.

2008-08-19 Thread David Alter
Figured it out. I just need to use addTrackingRect:owner:userData:assumeInside enjoy -dave On Aug 19, 2008, at 2:50 PM, David Alter wrote: I just realized that NSTrackingArea is 10.5 and up. I need to support 10.4. mouseEntered and mouseExited have been part of NSResponder from 10.0. To re

Re: Receiving mouseEnter and mouseExit events.

2008-08-19 Thread David Alter
I just realized that NSTrackingArea is 10.5 and up. I need to support 10.4. mouseEntered and mouseExited have been part of NSResponder from 10.0. To receive these events in 10.4 what should I do? thanks -dave On Aug 19, 2008, at 12:55 PM, Quincey Morris wrote: On Aug 19, 2008, at 12:04, Da

Re: Receiving mouseEnter and mouseExit events.

2008-08-19 Thread Quincey Morris
On Aug 19, 2008, at 12:04, David Alter wrote: I'm a little confused on the mouse tracking. I have a view and I want to track when the mouse enters and exits it. If I set setAcceptsMouseMovedEvents to true for my window, (void)mouseMoved: (NSEvent *)theEvent will get called. But, - (void)mous

Receiving mouseEnter and mouseExit events.

2008-08-19 Thread David Alter
I'm a little confused on the mouse tracking. I have a view and I want to track when the mouse enters and exits it. If I set setAcceptsMouseMovedEvents to true for my window, (void)mouseMoved: (NSEvent *)theEvent will get called. But, - (void)mouseEntered: (NSEvent *)theEvent and - (void)mouse