Re: Capturing mousedown in WebFrameView
Re: Capturing mousedown in WebFrameView
- Subject: Re: Capturing mousedown in WebFrameView
- From: Victor Tran <email@hidden>
- Date: Fri, 29 Jul 2005 12:34:25 +1000 (EST)
--- glenn andreas <email@hidden> wrote:
>
> On Jul 28, 2005, at 9:23 AM, Victor Tran wrote:
>
> > Ok I've made my own simple browser using the
> WebKit
> > tools. WebView seems to capture mousedowns just
> fine
> > (before a page is loaded), but once a page is
> loaded
> > into the webview, the mousedowns are no longer
> > captured - I just used an NSLog to check.
> >
> > Now I figure it could be because the webview has
> > actually created a WebFrameView to load the
> webpage
> > into. I've read a bit about poseAsClass, but I
> still
> > haven't got that to work.
> >
> > Any suggestions on how I can go about doing this?
>
> What are you trying to accomplish? Because WebKit
> has a boatload of
> delegate methods that it calls for all sorts of
> things which may
> accomplish exactly what you're trying to do...
>
>
> Glenn Andreas
> email@hidden
> <http://www.gandreas.com/> wicked fun!
> Widgetarium | the quickest path to widgets
>
>
Yes I've had a look at the delegate methods and found
things like detecting mouseover. What I need is
something that will detect a button press on a web
page (not necessarily clicking on a link). So the
person can load up a page (which I've done) and click
anywhere in that page and I should be able to detect
those clicks (which I'm trying to do now)
Later I may need to also capture the coordinates of
the mousedown.
Send instant messages to your online friends http://au.messenger.yahoo.com
_______________________________________________
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