• 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: Getting the position of the mouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the position of the mouse


  • Subject: Re: Getting the position of the mouse
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 15 Nov 2002 01:36:39 -0600

I think it's [[NSApp currentEvent] mouseLocation];

HTH,
Charles

On Thursday, November 14, 2002, at 04:45 AM, Cristi Savu wrote:

How can I get the position of the mouse at any time in an application ?
I need to know the position of the mouse while I am inside keyUp of keyDown and
the event received by these methods doesn't contains a valid mouse position.

Regards, Cristian
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Getting the position of the mouse
      • From: Cristi Savu <email@hidden>
References: 
 >Getting the position of the mouse (From: Cristi Savu <email@hidden>)

  • Prev by Date: Re: Finding build versions...
  • Next by Date: Re: Getting the position of the mouse
  • Previous by thread: Getting the position of the mouse
  • Next by thread: Re: Getting the position of the mouse
  • Index(es):
    • Date
    • Thread