• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Handle multiple screens & mouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Handle multiple screens & mouse
      • From: Gabriel Höhener <email@hidden>
References: 
 >Handle multiple screens & mouse (From: Gabriel Höhener <email@hidden>)

  • Prev by Date: Re: Zombies instrument for iPhone?
  • Next by Date: Re: Problem using filewrappers under snow leopard
  • Previous by thread: Handle multiple screens & mouse
  • Next by thread: Re: Handle multiple screens & mouse
  • Index(es):
    • Date
    • Thread