Skip navigation.
 
mlRe: Arranging Windows [Newbie]
FROM : Dave Rosborough
DATE : Mon Nov 01 18:50:24 2004

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_removed>)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>>
>>> This email sent to <email_removed>
>>>

>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlArranging Windows [Newbie] Weston Houghton Nov 1, 06:54
mlRe: Arranging Windows [Newbie] Dave Rosborough Nov 1, 07:10
mlRe: Arranging Windows [Newbie] Weston Houghton Nov 1, 16:36
mlRe: Arranging Windows [Newbie] Dave Rosborough Nov 1, 18:50