• 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: Window Placement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window Placement


  • Subject: Re: Window Placement
  • From: j o a r <email@hidden>
  • Date: Thu, 7 Nov 2002 16:52:23 +0100

Try this instead (NSRect is a struct, not an object):

[myWindow setFrame: NSMakeRect(xFloat, yFloat, wFloat, hFloat) display: NO];

This documenation can be found under Cocoa > Foundation > Functions.

j o a r

On Thursday, Nov 7, 2002, at 12:56 Europe/Stockholm, email@hidden wrote:

[[winControl window] setFrame:[NSRect x:[[d width]/2-500/2] y:[[d
height]/2-500/2] w:700 h:500] display:NO];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Window Placement (From: email@hidden)

  • Prev by Date: Re: Getting thumbnail of document to appear?
  • Next by Date: Re: Window Placement
  • Previous by thread: Re: Window Placement
  • Next by thread: Re: Window Placement
  • Index(es):
    • Date
    • Thread