Re: NSScreen Issues
Re: NSScreen Issues
- Subject: Re: NSScreen Issues
- From: Graham Cox <email@hidden>
- Date: Mon, 28 Sep 2009 17:19:44 +1000
On 28/09/2009, at 4:46 PM, JECKER Frédéric wrote:
What am I doing wrong ? How should I calculate my window's origin ?
The window's origin is its BOTTOM left corner, not its top left. So
subtract the height from the screen height to find the position you
need to place its top edge at the top of the screen (less the menu bar
height).
--Graham
_______________________________________________
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