> The window frame origin is a position relative to the screen origin.
> 
> Try this:
> 
> screenRect.origin = NSZeroPoint;
> [win setFrame:screenRect display:YES];

No, that will just position the window on the main screen. If the window
frame origin were relative to the screen origin rather than the whole space,
then there would be no way using setFrame to move a window to a different
screen.

-- 
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to