Im interested in if its possible to get rid of the d*mn scrollbar from browser control ?????????
Its ridiculous when its not needed :
its not active but its there on the right side. my exe is in exat fit with the website so i dont need it there
Code:
import SWFKit.*;
import WebBrowser;
// Create the web browser control
var ax = Global.createControl("Shell.Explorer.2", 0, 0, 375, 530);
// Fill the web browser control in the entire client area of the
// main window
var win = Global.getMainWnd();
ax.window.move(0, 0, win.clientRect.width, win.clientRect.height);
function onSize(type, width, height){
ax.window.move(0, 0, width, height);
}
win.setEventHandler("onSize", onSize);
var wb = WebBrowser.fromID(ax.activex);
// handle event of the ActiveX control
function NavigateComplete2(control, url){
_root.strace(url);
}
wb.setEventHandler("NavigateComplete2", NavigateComplete2);
// Browse web site
wb.Navigate2("www.mysite.com");