Re: How can I display a window to the second screen if there are multiple screens?
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.