Re: Getting the actual screen resolution
Re: Getting the actual screen resolution
- Subject: Re: Getting the actual screen resolution
- From: Jim Correia <email@hidden>
- Date: Mon, 3 Dec 2001 10:17:38 -0500
On Monday, December 3, 2001, at 09:52 AM, Eric Peyton wrote:
[[NSScreen mainScreen] frame] returns the actual NSSize of the working
area on the main screen.
See the NSScreen documentation.
Note that there is a subtle but important fact here.
mainScreen returns the screen with the key window, not the screen with
the menubar. (This is in the documentation.)
I don't see this in the documentation, (and Ali has confirmed it on this
list in the past IIRC) that the first entry in [NSScreen screens] will
be the main screen in the menubar sense.
Jim