Re: detecting scrolling in webView
Re: detecting scrolling in webView
- Subject: Re: detecting scrolling in webView
- From: "W. W. Gilpin" <email@hidden>
- Date: Wed, 13 Jul 2005 02:21:47 -0500
Gary,
Presuming the WebView operates like any other NSView inside a scroll
view, I think observing the NSViewBoundsDidChangeNotification sent by
the content view of your WebView's enclosing scroll view should get you
most of the way there.
Then you can check the application's current event to filter for the
key presses you're interested in.
HTH,
W. W. Gilpin
email@hidden
On Jul 12, 2005, at 10:10 PM, Gary Yuen wrote:
Hi,
I posted this in the webkitsdk-dev but wasn't able to get a lot of
responses.
I'm curious how to find out when someone has scrolled within a
webView. I'm guessing it's similar to any other NSResponder event for
any other NSView. It seems the only way is to detect when someone has
pressed the page up/pagedown or spacebar/shift-spacebar keys? It's ok
if I can only detect those events. Finding out when someone has used
the scrollbar isn't important for me.
Thanks.
Gary
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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