• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The mouse is where, again?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The mouse is where, again?


  • Subject: Re: The mouse is where, again?
  • From: Sam Stigler <email@hidden>
  • Date: Mon, 28 Jan 2008 16:31:58 -0800

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


  • Follow-Ups:
    • [Moderator] Re: The mouse is where, again?
      • From: Scott Anguish <email@hidden>
    • Re: The mouse is where, again?
      • From: "Wesley Smith" <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>)

  • Prev by Date: Re: String encoding problem (WSMethodInvocation)
  • Next by Date: Re: Getting an era's beginning date
  • Previous by thread: Re: The mouse is where, again?
  • Next by thread: Re: The mouse is where, again?
  • Index(es):
    • Date
    • Thread