Re: Handle multiple screens & mouse
Re: Handle multiple screens & mouse
- Subject: Re: Handle multiple screens & mouse
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Oct 2009 20:46:19 -0700
On Oct 13, 2009, at 2:35 PM, Gabriel Höhener wrote:
How do I handle multiple screens, if I want to drag a window
programmatically from one screen [NSScreen mainscreen] to another
[[NSScreen screens] objectAtIndex:x]?
I know that I can access the frame from each screen and get like
that the origin and the sizes of each one. But somehow it doesn't
work properly.
If you know the ending position of the window, call [window setFrame:
newFrame display: YES animate: YES].
Next time tell us exactly what you already tried and what exactly goes
wrong.
—Jens_______________________________________________
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