Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Moderator] Re: The mouse is where, again?



Yes, sam is quite correct.  Please take this off-list

thanks

scott (moderator)


On Jan 28, 2008, at 4:31 PM, Sam Stigler 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >The mouse is where? (From: email@hidden)
 >Re: The mouse is where, again? (From: Jayson Adams <email@hidden>)
 >Re: The mouse is where, again? (From: Quincey Morris <email@hidden>)
 >Re: The mouse is where, again? (From: Jayson Adams <email@hidden>)
 >Re: The mouse is where, again? (From: "Clark Cox" <email@hidden>)
 >Re: The mouse is where, again? (From: Jayson Adams <email@hidden>)
 >Re: The mouse is where, again? (From: "Hamish Allan" <email@hidden>)
 >Re: The mouse is where, again? (From: Jayson Adams <email@hidden>)
 >Re: The mouse is where, again? (From: "Hamish Allan" <email@hidden>)
 >Re: The mouse is where, again? (From: Jayson Adams <email@hidden>)
 >Re: The mouse is where, again? (From: "Hamish Allan" <email@hidden>)
 >Re: The mouse is where, again? (From: Sam Stigler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.