Re: The mouse is where, again?
Re: The mouse is where, again?
- Subject: Re: The mouse is where, again?
- From: "Wesley Smith" <email@hidden>
- Date: Mon, 28 Jan 2008 16:41:24 -0800
Or battle it out with a sample app that proves your point.
wes
On Jan 28, 2008 4:31 PM, Sam Stigler <email@hidden> wrote:
> This has gone on long enough. I honestly don't care who's right, but
> can you please take this off-list?
>
> Thank you very much,
>
> Sam
>
>
>
> On Jan 28, 2008, at 2:59 PM, Hamish Allan wrote:
>
> > On Jan 28, 2008 8:02 PM, Jayson Adams <email@hidden> wrote:
> >
> >> So yes, he was asking how you get the current mouse location, and was
> >> believing there's no way to do it.
> >
> > Your willful disregard of the very next sentence after the bit you
> > quoted does not serve to illuminate anything. Here, again, is the
> > whole thing:
> >
> >> (C) How do I know where the mouse is, in the absence of (prior to
> >> receiving) a mouse-related event?
> >>
> >> -- There is not, afaik, any Cocoa frameworks function or method that
> >> gets the mouse location other than from a NSEvent. (It may exist
> >> and I
> >> just haven't found it.)
> >>
> >> -- Getting the current mouse location using Carbon (if there is a
> >> function for that) isn't the answer, because that's going to tell me
> >> where the mouse is *right now in real time*, while the information I
> >> need is where the mouse is *synchronized with the event stream*. (If
> >> I'm about to receive a flood of mouseMoved: or mouseDragged:
> >> messages,
> >> I want to know where the mouse is before them, not after. Unreceived
> >> messages represent the future, I'm still in the present.)
> >
> > I know you think that the real-time location is all that matters, but
> > you are wrong, and I think it's important to make that plain, because
> > you seem to be seeking to obfuscate it.
> >
> > Hamish
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please 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
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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