• 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: Problem with NSWindow setFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSWindow setFrame


  • Subject: Re: Problem with NSWindow setFrame
  • From: j o a r <email@hidden>
  • Date: Thu, 19 Jun 2008 00:05:36 -0700


On Jun 18, 2008, at 11:50 PM, kalpana k wrote:

window setFrame: NSMakeRect(0,0,1024,1200)


Should this not be something more like:

	NSMakeRect(0.0, -768.0, 1024.0, 1200.0)

Also note that, according to the documentation:

"Note that any NSWindow with a title bar automatically constrains itself to the screen."

<http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html#//apple_ref/doc/uid/20000228-135785 >

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem with NSWindow setFrame
      • From: "kalpana k" <email@hidden>
References: 
 >Problem with NSWindow setFrame (From: "kalpana k" <email@hidden>)

  • Prev by Date: Problem with NSWindow setFrame
  • Next by Date: Re: getting free space available in a drive
  • Previous by thread: Problem with NSWindow setFrame
  • Next by thread: Re: Problem with NSWindow setFrame
  • Index(es):
    • Date
    • Thread