Re: Hide/Show an NSView???
Re: Hide/Show an NSView???
- Subject: Re: Hide/Show an NSView???
- From: Andreas Schempp <email@hidden>
- Date: Mon, 5 May 2003 18:25:40 +0200
Create two views in interface builder, and an empty window.
you can set the windows view with [window setContentView:movieView] or
something like
don't forget to resize you window to the size of your view
Am Montag, 05.05.03 um 14:57 Uhr schrieb M. Uli Kusterer:
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.