Scrolling in Nested NSScrollViews
Scrolling in Nested NSScrollViews
- Subject: Scrolling in Nested NSScrollViews
- From: Martin Baldwin <email@hidden>
- Date: Wed, 15 Jun 2005 12:42:32 -0700
I have a scrolling window that has multiple NSTextViews within it,
each wrapped in their own NSScrollView.
My problem is that the text views eat all my scroll events instead of
passing them to the top-level scroll view.
What I would like is how Safari implements this: If there is a
scrollable area within a web page, then the scroll wheel will cause
the enclosed area to scroll. Then, when the end of the scrollable
area is hit, the entire page starts scrolling.
Is there any way to tell a NSScrollView to pass extraneous scroll
events to a surrounding NSScrollView in the same manner as Safari does?
--
Martin Baldwin
email@hidden
_______________________________________________
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