Re: Arranging Windows [Newbie]
Re: Arranging Windows [Newbie]
- Subject: Re: Arranging Windows [Newbie]
- From: Dave Rosborough <email@hidden>
- Date: Mon, 1 Nov 2004 09:50:24 -0800
There's a variety of approaches you could take. But if you've got a
controller that is instantiated in the same nib as your windows, it's
probably easiest just to put the code in the controllers "awakeFromNib"
method.
TTYL
DaveR
On 1-Nov-04, at 7:36 AM, Weston Houghton wrote:
Yup, NSScreen will give me the screen size and whatnot. I'm just not
sure where to place the actual code to resize and relocate the
windows, as they pop-up at application load time. It seems like it
should be handled in the application loop somewhere, not in the
window-handling code itself.
Wes
On Nov 1, 2004, at 1:10 AM, Dave Rosborough wrote:
Look in the documentation for NSScreen. [[NSScreen mainScreen]
visibleFrame] will probably do what you're looking for.
TTYL
DaveR
On 31-Oct-04, at 9:54 PM, Weston Houghton wrote:
All,
I have an application I am working on that when it comes up it draws
4 main windows. These are just normal window objects in IB, all set
to draw on app load.
Where/how would I put it into the app code to get the screen size ,
then resize and arrange the windows on screen based on that
information?
Thanks,
Wes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden