On 27.04.2010, at 11:53, Paul Sanders wrote:
> 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.

 Maybe you were asking for the -mainScreen? In Carbon and some other 
documentation, the screen with the menu bar is called the "main" screen. But in 
Cocoa, the -mainScreen method actually returns the screen on which the window 
that is currently "main" is placed. Tricks many people.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

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

Reply via email to