[webkit-dev] webkit ignores manual mouse click event
Nilesh Patil
vniles at gmail.com
Tue Nov 4 05:18:13 PST 2008
which port
On Tue, Nov 4, 2008 at 6:43 PM, Luka Napotnik <luka.napotnik at gmail.com> wrote:
> Hello.
>
> I've created a method to send X,Y clicks to a page in the current frame.
> I'm using the handleMousePressEvent() method to create the event:
>
> Frame *frame = core(webView)->mainFrame();
> frame->eventHandler()->handleMousePressEvent(PlatformEvent(IntPoint(x,
> y), IntPoint(0, 0), LeftButton, MouseEventPressed, 1, false, false,
> false, false, 1.0));
>
> I open a HTML page where images change when you press the mouse button
> on them. But when running the program and calling the method, the images
> do not change. Oh and frame()->eventHandler() returns true so it should
> work.
>
> Any ideas?
>
> Greets,
> Luka
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
More information about the webkit-dev
mailing list