• 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: Moving window to a given screen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving window to a given screen?


  • Subject: Re: Moving window to a given screen?
  • From: Stéphane Sudre <email@hidden>
  • Date: Sat, 17 Apr 2004 20:05:22 +0200

On samedi, avril 17, 2004, at 07:51 PM, Ondra Cada wrote:

And a related question to the last one: how do you programmatically
move window to a given screen?

I've searched the NSWindow docs, but found nothing?

1) Use NSScreen to list the screen and get them coordinates.

2) Compute the frame of the window based on the above information

3) set the Frame or origin of the window.

?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • SOLVED: Moving window to a given screen?
      • From: Ondra Cada <email@hidden>
References: 
 >Moving window to a given screen? (From: Ondra Cada <email@hidden>)

  • Prev by Date: File size of a downloadable file
  • Next by Date: Re: OBJ-C question
  • Previous by thread: Moving window to a given screen?
  • Next by thread: SOLVED: Moving window to a given screen?
  • Index(es):
    • Date
    • Thread