• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting the actual screen resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Getting the actual screen resolution (From: Eric Peyton <email@hidden>)

  • Prev by Date: Re: Question
  • Next by Date: Re: NSUserDefaults and the synchronize: method - doesn't seem to sync...
  • Previous by thread: Re: Getting the actual screen resolution
  • Next by thread: Hide Toolbar not toggling to Show Toolbar
  • Index(es):
    • Date
    • Thread