Re: The mouse is where?
Re: The mouse is where?
- Subject: Re: The mouse is where?
- From: Jayson Adams <email@hidden>
- Date: Fri, 25 Jan 2008 15:38:34 -0800
On Jan 25, 2008, at 2:51 PM, email@hidden wrote:
(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.)
NSWindow has
- (NSPoint)mouseLocationOutsideOfEventStream
and NSEvent has
+ (NSPoint)mouseLocation
Best,
__jayson
Circus Ponies NoteBook - Organization for a Creative Mind
www.circusponies.com
_______________________________________________
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