• 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: Marco Binder <email@hidden>
  • Date: Thu, 7 Nov 2002 18:40:57 +0100

Ooops...

[[winControl window] setFrame:[NSRect x:[[d width]/2-500/2] y:[[d
height]/2-500/2] w:700 h:500] display:NO];


is of course also wrong: what is [NSRect x:...] where did u find that one? I must be REALLY off track if NSRect is actually a class and you can send it messages! Try NSMakeRect(x,y,width,height)...

How did you come up with this method-signature? Did you just make it up or have you found it somewhere?

marco


--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
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[Schliff]: To all cocoa developers - new cocoa dev forum
  • Next by Date: Re: Getting thumbnail of document to appear?
  • Previous by thread: Window Placement
  • Next by thread: Re: Window Placement
  • Index(es):
    • Date
    • Thread