Re: Window Placement
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.