• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RESEND: How do enforce a scrollPageDown on a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: RESEND: How do enforce a scrollPageDown on a view?
      • From: Steve Palmer <email@hidden>
References: 
 >RESEND: How do enforce a scrollPageDown on a view? (From: Steve Palmer <email@hidden>)
 >Re: RESEND: How do enforce a scrollPageDown on a view? (From: Steve Palmer <email@hidden>)

  • Prev by Date: Re: Distributed Objects between cats
  • Next by Date: Re: Option-click on my app hides the other app
  • Previous by thread: Re: RESEND: How do enforce a scrollPageDown on a view?
  • Next by thread: Re: RESEND: How do enforce a scrollPageDown on a view?
  • Index(es):
    • Date
    • Thread