• 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: Multiple Windows and Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: Multiple Windows and Cocoa (From: email@hidden)
 >Re: Multiple Windows and Cocoa (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: NSOpenPanel and the New Folder button
  • Next by Date: changing dateformat based on column width
  • Previous by thread: Re: Multiple Windows and Cocoa
  • Next by thread: Boost Libraries and Project Builder
  • Index(es):
    • Date
    • Thread