Re: RESEND: How do enforce a scrollPageDown on a view?
Re: RESEND: How do enforce a scrollPageDown on a view?
- Subject: Re: RESEND: How do enforce a scrollPageDown on a view?
- From: glenn andreas <email@hidden>
- Date: Thu, 11 Aug 2005 08:52:55 -0500
On Aug 11, 2005, at 12:12 AM, Steve Palmer wrote:
OK, let me try another simpler question:
How do I get at the NSScrollView for a WebView?
If I can work that out then I can try something with
scrollRectToVisible to get around the problem.
You don't really - it may not have one. WebView is basically just a
container that holds other things - it's not inside an NSScrollView.
Instead, typically, there is a WebFrameView inside the webview (or
perhaps more than one), and inside _that_ WebFrameView is a
WebDynamicScrollBarsView (which is a subclass of WebCoreScrollView
which finally is a subclass of NSScrollView). And if there are
multiple frames in the in web page, well, then that root WebFrameView
ultimately contains multiple WebFrameViews which in turn contain
scrolls views.
So basically, there is no "the" scroll view - there may be more than
one (and some of them don't do anything).
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
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