ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Nov/Can-a-docView-belong-to-multiple-Sc

This is Can-a-docView-belong-to-multiple-Sc in view mode; [Up]


Date: Sun 29-Nov-1989 10:40:19 From: Unknown Subject: Re: Can a docView belong to multiple Sc /* Written 8:21 pm Nov 27, 1989 by izumi@violet.berkeley.edu in uxa.cso.uiuc.edu:comp.sys.next */ /* ---------- "Can a docView belong to multiple Sc" ---------- */ >It seems that in order to have two separate views into a single >document, a sigle docView must be added to multiple ScrollViews >at the same time. Is this possible? > >How about Views in general? Can a View added to multiple >superViews at the same time? >Considering that the instance variable 'superview' will contain >only one pointer, this probably is not possible. Actually, this is possible, just not easy. Actually, it is easy. Create a subclass of view which has an array of superviews and an array of subviews. You could then use this view as the "glue" for your multiple superviews. A bunch of methods would need to be added to. Michael Rutman SoftMed >From: daveh@cbmvax.UUCP (Dave Haynie)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.