Re: Multiple Windows and Cocoa
Re: Multiple Windows and Cocoa
- Subject: Re: Multiple Windows and Cocoa
- From: Alan Somers <email@hidden>
- Date: Wed, 10 Sep 2003 22:20:20 -0500
At 14:22 Uhr +0000 10.09.2003, email@hidden wrote:
> probably have to send "makeKeyAndOrderFront:". The data for the
window can
be set up in the window's controller class before sending he
"isVisible:YES".
Actually, I just took a look at the Apple developer site and the "isVisible:"
message should not be necessary; the "makeKeyAndOrderFront:" message should
also make the window visible.
Uh ... folks? isVisible is a "get"-accessor. It doesn't have a
colon behind it, no parameters. Here's the definition from
NSWindow.h:
- (BOOL)isVisible;
and no, there's no setIsVisible: method. There's only orderOut:.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
Sorry about that. In my attempt to describe the conceptual aspects,
I didn't pay enough attention to the details. Anyway, the
initially-hidden-and-hide-again-on-close window idea should work fine
for the project at hand.
_______________________________________________
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.