Lining up NSViews in NSScrollView
Lining up NSViews in NSScrollView
- Subject: Lining up NSViews in NSScrollView
- From: Michael Marmarou <email@hidden>
- Date: Sat, 19 Feb 2005 23:46:46 -0500
Hello all,
I am not sure what the best method for this is. In the main part of
my program I have a NSTextView in an NSScrollView (actually NSTextView
in NSClipView in NSScrollView), and I want to have multiple view on
top of each other in the NSScrollView. What I want to be able to do
is to draw on an NSTextView, which i assume is impossible, so I wanted
to add a view on top of it to allow the user to draw.
So my question really is, how would I go about having multiple NSView
subclasses (that have transparent backgrounds) lined up in one
NSScrollView? I have other views in mind too. The user will be able
to choose from different layers, and all layers should scroll
together.
Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden