polling mouse location?
Is there a way to get the in-view mouse coordinates without having to setup a mouse tracking rectangle? Seems like overkill to have to get and store mousemoved events when I just want to get the location once.
It sounds like you want either +[NSEvent mouseLocation] or -[NSWindow mouseLocationOutsideOfEventStream].
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| ending location from angle and speed | Kazooless | 5 | 3,960 |
Apr 3, 2009 02:40 PM Last Post: Gillissie |
|
| Cocoa: Mouse location while dragging window | Fenris | 4 | 4,528 |
Jul 14, 2005 04:46 PM Last Post: Fenris |
|
| Getting mouse location | Steven | 25 | 7,477 |
Aug 3, 2003 07:24 PM Last Post: OneSadCookie |
|
| Setting the mouse location | Michael | 6 | 3,909 |
Jun 22, 2003 03:39 AM Last Post: reubert |
|
| mouse location woes | kelvin | 4 | 4,360 |
Dec 6, 2002 05:50 PM Last Post: wally |
|

