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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com