• 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: Hide/Show an NSView???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide/Show an NSView???


  • Subject: Re: Hide/Show an NSView???
  • From: "Tony S. Wu" <email@hidden>
  • Date: Mon, 5 May 2003 07:00:39 -0700

Just use a NSTabView and switch back and forth.

Tony S. Wu
email@hidden

"The world doesn't give us hope - it gives us chance."
http://homepage.mac.com/tonyswu/tonyswu - My web page.


On Monday, May 5, 2003, at 05:57 AM, M. Uli Kusterer wrote:

Hi,

this is probably an FAQ), but for the life of me I can't find a way to hide an NSView. I have a window containing an NSImageView and an NSMovieView, and depending on what data I'm currently displaying, I want to show either, but never both.

How can I do that? I tried setIsVisible, setVisible, show, hide, showView, hideView, ... none of these are supported by NSView. And the docs only mention isVisible, which tells me whether a view is onscreen, not whether it's shown or hidden.

Am I just too sunburnt today, or is this hidden away too good?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
_______________________________________________
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: 
 >Hide/Show an NSView??? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: problem with NSMatrix AND Contextual Menus
  • Next by Date: Re: I think I get most of the memory stuff but...
  • Previous by thread: Hide/Show an NSView???
  • Next by thread: Re: Hide/Show an NSView???
  • Index(es):
    • Date
    • Thread