Re: Swapping the contents of views
Re: Swapping the contents of views
- Subject: Re: Swapping the contents of views
- From: John Randolph <email@hidden>
- Date: Mon, 26 Jan 2004 13:46:46 -0800
On Jan 25, 2004, at 2:35 PM, email@hidden wrote:
I have an application that needs to display different types of media
in the same view (e,g, first a JPEG, then a QuickTime movie, then
maybe an EPS file, etc.).
[snippage]
I assume it's a question of creating offscreen panels containing each
of the views I need (i.e. and NSImageView, an NSMovieView, etc.),
intializing the panel with the data, then getting the contents of the
panel to draw in the other view.
Am I on the right track? Could some kind soul point me to some sample
code somewhere, or provide a code snippet.
It's rather simpler than that. In this situation, just use an
NSTabView with the tabs hidden.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.