Re: -mouseMoved: not being called
Re: -mouseMoved: not being called
- Subject: Re: -mouseMoved: not being called
- From: Ron Fleckner <email@hidden>
- Date: Sun, 20 May 2007 11:45:25 +1000
On 20/05/2007, at 11:36 AM, Tommy Nordgren wrote:
On 20 maj 2007, at 03.10, Ron Fleckner wrote:
Hi,
One user of my app reports that a feature which relies on getting -
mouseMoved: events isn't working. The feature works on our two
machines here, and no other users have reported this failure.
I've sent him a version of the app which logs -mouseMoved: to the
console. No -mouseMoved: events appear in his console.log. He
says the feature fails on all three of his machines, two PPC's and
one Intel, all running 10.4.9.
What could be a possible cause of this?
Ron
From Anguish - Buck - Yachtman: Cocoa Programming, page 599:
Because the mouse moves quite often, mouse-moved events are not
usually dispatched. This is to avoid flooding the Applications
event queue.
Normally these events are turned on temporarily for a specific
purpose, and then turned off again.
Yes, thanks, but -mouseMoved: is only active when a small window is
opened with a slider on it. The window is registered to receive -
mouseMoved:, so -mouseMoved: events only get sent while the window is
open. My problem is that it doesn't work for one user.
Ron
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden