• 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 19:16:26 -0400

On Tue, Apr 27, 2010 at 11:29 AM, Thomas Clement <email@hidden> wrote:
>
> On Apr 27, 2010, at 4:48 PM, Michael Ash wrote:
>
>> 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.
>
> From the documentation of the NSScreen class:
>
> + (NSArray *)screens
>
> The screen at index 0 in the returned array corresponds to the primary
> screen of the user’s system. This is the screen that contains the menu bar
> and whose origin is at the point (0, 0).

My bad, thanks for the info.

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

References: 
 >NSApplicationMain question (From: Bill Appleton <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>)
 >Re: NSApplicationMain question (From: Michael Ash <email@hidden>)
 >Re: NSApplicationMain question (From: Thomas Clement <email@hidden>)

  • Prev by Date: Re: menu madness with retain count
  • Next by Date: Re: Fastest way to check for descendants of an object
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread