Skip navigation.
 
mlRe: Window Placement
FROM : Marco Binder
DATE : Thu Nov 07 18:40:57 2002

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_removed>  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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlWindow Placement CyberRat17 Nov 7, 12:56
mlRe: Window Placement Clark S. Cox III Nov 7, 16:51
mlRe: Window Placement j o a r Nov 7, 16:52
mlRe: Window Placement Stéphane Sudre Nov 7, 16:57
mlRE: Window Placement Jonathan E. Jackel Nov 7, 18:21
mlRe: Window Placement Marco Binder Nov 7, 18:40
mlRe: Window Placement (The third) Marco Binder Nov 7, 18:49
mlRe: Window Placement Christopher Hollan… Nov 7, 20:18
mlRE: Window Placement Jonathan E. Jackel Nov 7, 22:27
mlRe: Window Placement Ondra Cada Nov 8, 01:43
mlRe: Window Placement John C. Randolph Nov 11, 01:42
mlRe: Window Placement Kevin Callahan Nov 11, 04:02