• 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: How can I display a window to the second screen if there are multiple screens?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I display a window to the second screen if there are multiple screens?


  • Subject: Re: How can I display a window to the second screen if there are multiple screens?
  • From: Marc Liyanage <email@hidden>
  • Date: Sun, 18 Aug 2002 00:05:24 +0200

On Samstag, August 17, 2002, at 05:42 Uhr, Matt Neuburg wrote:

On Fri, 16 Aug 2002 01:15:15 +0200, Marc Liyanage <email@hidden> said:

I want to pop up several windows, one per attached screen on the
machine.
However, for other reasons I decided to create the windows from a .nib
file instead of programmatically.
The problem I seem to have now is that I cannot position a window onto
the second screen.

I am reading out screen coordinates with CGGetActiveDisplayList() and
CGDisplayBounds()

Why?

I'm reading out more information using that API and I wasn't sure if the order of the screens is guaranteed to be identical in [NSScreen screens], i.e if screen 0 there is also screen 0 in NSScreen. I guess they are identical...


Uncheck "deferred" in IB.

Thanks very much, this alone did the trick for me... I would not have tried that anytime soon...



Cheers

-Marc





_________________________________________________________________
Marc Liyanage email@hidden
http://www.entropy.ch
ICQ 5077985

Yoda I am. Grammar I can't.
_________________________________________________________________
_______________________________________________
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.

References: 
 >Re: How can I display a window to the second screen if there are multiple screens? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: ObjC/Cocoa in university curricula?
  • Next by Date: Re: Frameworks refernce online...
  • Previous by thread: Re: How can I display a window to the second screen if there are multiple screens?
  • Next by thread: NSTextFieldCell & editWithFrame
  • Index(es):
    • Date
    • Thread