Hi,

It seems that [NSWindow center] centers the window on the *main* screen.

Now how do I center a window on the screen it currently shows on, on a
multi-monitor Mac?

I could write my own code to position the window, but I don't know how
to reproduce the recommended position of the centered window, which is
slightly above the center.

Thanks!
_______________________________________________

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