• 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: NSApplicationMain question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplicationMain question


  • Subject: Re: NSApplicationMain question
  • From: Michael Ash <email@hidden>
  • Date: Tue, 27 Apr 2010 10:48:58 -0400

On Tue, Apr 27, 2010 at 5:53 AM, Paul Sanders
<email@hidden> wrote:
>> Um, actually the menu bar is on the primary display.  That's
>> the definition of the primary display
>> -- it's the one with the menu bar.  Did you perhaps mean the
>> built-in display?
>
> I was speaking from memory.  My recollection is that after I
> moved the menu bar the primary display, as reported by NSScreen,
> did not change.  But it was a while ago so I could be wrong and
> the docs agree with you.  This implies that the primary display
> can change at run time.

NSScreen does not define the concept of the "primary" screen.

Perhaps you were thinking of +mainScreen? That one is defined as the
screen which contains the key window. Not a very useful definition for
most purposes, but there you are.

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: NSApplicationMain question
      • From: Thomas Clement <email@hidden>
References: 
 >NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Jens Alfke <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Jack Carbaugh <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Keary Suska <email@hidden>)
 >Re: NSApplicationMain question (From: "Paul Sanders" <email@hidden>)
 >Re: NSApplicationMain question (From: Ken Thomases <email@hidden>)
 >Re: NSApplicationMain question (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: NewMovieFromDataRef crashes when QT movie URL is not found
  • Next by Date: Re: menu madness with retain count
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread