• 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: Actually centering a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Actually centering a window


  • Subject: Re: Actually centering a window
  • From: John Warner <email@hidden>
  • Date: Fri, 20 May 2005 17:42:17 -0400


On May 20, 2005, at 5:02 PM, John Cebasek wrote:

Hi All:

Is there anyway to cause the center method of NSWindow to actually center the silly thing and not put it in the alert position? Or do you have to determine the dimensions of the screen and do the work manually.

You have to do it manually, but there's some code at <http:// www.cocoadev.com/index.pl?NSWindow> that will do it for you.


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


References: 
 >Actually centering a window (From: "John Cebasek" <email@hidden>)

  • Prev by Date: binding and tableviwe problem
  • Next by Date: Re: Actually centering a window
  • Previous by thread: Actually centering a window
  • Next by thread: Re: Actually centering a window
  • Index(es):
    • Date
    • Thread