Skip navigation.
 
mlRe: Arranging Windows [Newbie]
FROM : Weston Houghton
DATE : Mon Nov 01 16:36:49 2004

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>
>>

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