On Tue, Apr 27, 2010 at 11:29 AM, Thomas Clement <thoma...@free.fr> wrote: > > On Apr 27, 2010, at 4:48 PM, Michael Ash wrote: > >> On Tue, Apr 27, 2010 at 5:53 AM, Paul Sanders >> <p.sand...@alpinesoft.co.uk> 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com