• 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: Arranging Windows [Newbie]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arranging Windows [Newbie]


  • Subject: Re: Arranging Windows [Newbie]
  • From: Weston Houghton <email@hidden>
  • Date: Mon, 1 Nov 2004 10:36:49 -0500

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
  • Follow-Ups:
    • Re: Arranging Windows [Newbie]
      • From: Dave Rosborough <email@hidden>
  • Prev by Date: Header Files and Links to documentation
  • Next by Date: Re: re Boolean Predicates
  • Previous by thread: Re: alignment of combobox in a tableview
  • Next by thread: Re: Arranging Windows [Newbie]
  • Index(es):
    • Date
    • Thread