The previous code was written in mail. Real code here: Given an CGDirectDisplayID for an auxScreen, get its frame in modern (0,0 is bottom left) coordinates.
CGRect auxScreenRect = CGDisplayBounds (displayID); CGRect mainScreenRect = CGDisplayBounds (CGMainDisplayID ()); auxScreenRect.origin.y = -1 * (auxSreenRect.origin.y + auxScreenRect.size.height - mainScreenRect.size.height); // -1 * (924 + 1050 - 1200) = -774 Seems to work, but it'd be nice if there were a more direct way to obtain this. TRygve _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [EMAIL PROTECTED]
