Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem in Handling Ole Event(Scripts on a page are handled as an event which i want to avoid on the SWT Browser)
Problem in Handling Ole Event [message #755378] Tue, 08 November 2011 10:25
Ravindra Singh is currently offline Ravindra SinghFriend
Messages: 1
Registered: November 2011
Junior Member
Hi guys...
This is my first day on this forum...
I Made a plugin called Embedded browser using OleControl Site...
Now when i m handling the OleEvent i m getting the scripts on webpage as an event which i want to avoid...This is what i m doing in the handle() method...

int BeforeNavigate2 = 0xfa;

site.addEventListener(BeforeNavigate2, new OleListener() {

public void handleEvent(OleEvent event) {

url = event.arguments[1];

Variant postData = event.arguments[4];


// address is a textbox which contains the address of the present website...
so what it does as i enter first shows and after it shows about:blank in the textbox...becuase of the script on the google...

So please help me out with this....
Previous Topic:Image in Text widget?
Next Topic:IE Browser issue: revocation information is not available
Goto Forum:

Current Time: Mon Nov 30 04:47:08 GMT 2015

Powered by FUDForum. Page generated in 0.10159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software