Re: Converting HIPoints to CGPoints/NSPoints in global space?
Re: Converting HIPoints to CGPoints/NSPoints in global space?
- Subject: Re: Converting HIPoints to CGPoints/NSPoints in global space?
- From: Rosyna <email@hidden>
- Date: Wed, 15 Feb 2006 00:41:53 -0700
I also need to do this. I need to convert a window relative HIPoint
into a global point so I can call CGPostMouseEvent() on the correct
point on my window.
Ack, at 2/10/06, Dave MacLachlan said:
Is there a good way to convert NSPoints to HIPoints and back again safely?
I see HIPointConvert, but there doesn't seem to be a "cocoa"
coordinate space. I can write a routine iterating through all the
displays, and finding the lowest left hand corner, but was wondering
if anyone knew of a better way.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden