The best way to hide views.
The best way to hide views.
- Subject: The best way to hide views.
- From: Francisco Tolmasky <email@hidden>
- Date: Thu, 20 Mar 2003 19:09:06 -0800
I am wondering what the best way to hide views is. I currently need an
NSSplitView to not display itself, but am finding it quite difficult.
I tried to have a _isVisible member variable and then rewrite display
to only display if _isVisible was set to true:
- (void)display
{
if(_isVisible) [super display];
}
But this does not work since NSSplitView does not call display, nor
displayRect, nor all the other displays nor drawRect! I am finding it
quite difficult to hide this view.
Does anybody have any good ideas that do not involve moving it outside
the viewing area of the window? (the view is being repositioned/resized
as its hidden so the move away solution would not be the best).
Thank you in advance,
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.