realbasic-plugins
[Top] [All Lists]

WebKit plugin

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: WebKit plugin
From: Alex Fischer <alex at basasoft dot com>
Date: Thu, 12 May 2005 16:55:00 +0200
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Hi:

I am working on a WebKit plugin and having trouble getting it to respond to mouse events. I have been reading the lists but could no find an answer to my problem. I have created a control and got it to create an HIWebView. It displays the loaded page correctly and resizes as necessary.

The problem is that clicking on a link does nothing. Looking at the "SimpleCarbonWeb" example of the developer documentation it seems as if the view should respond "automagically" to those events but it does not. I have sucessfully tried to install an event handler for the View to get the mouse up, move... events. It works but now I do not know what to do with the event. Tried to send it to the view with "SendEventToEventTargetWithOptions" but this produces a crash. Seems logic as it probably produces a infinite loop.

Any ideas?

Thanks in advance.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>