Re: [TRTFM] mouseMove invoked on non-FrstResponder?
Re: [TRTFM] mouseMove invoked on non-FrstResponder?
- Subject: Re: [TRTFM] mouseMove invoked on non-FrstResponder?
- From: Allan Odgaard <email@hidden>
- Date: Wed, 14 Aug 2002 03:00:15 +0200
On onsdag, august 14, 2002, at 02:41 , John C. Randolph wrote:
I have a view in which I want to receive mouse move events, even
though this view isn't the first responder (an NSTextField often
is) -- I read somewhere that mouse events were distributed to all
objects, but perhaps that only apply to mouse up/down, cause I don't
get my move-events. [...]
You have to set the window's event mask to include mouse moved events.
They're ignored by default.
Which I do... as my letter says: I do (mostly) get the events as long as
my view is in the responder chain.
_______________________________________________
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.