Jump to content
Sign in to follow this  

Sizable IE Embed

Recommended Posts


Im making a browser, just to check its functions.

i need help in making the embed sizable.

here is the code:

;create embedded
$IE = _IECreateEmbedded ()
$create = GUICreate("The Browser", @DesktopWidth-500,   @DesktopHeight-150, "", "", BitOR ($WS_SIZEBOX, $WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))

;create menu
$filemenu = GUICtrlCreateMenu("&File")
$fileitem = GUICtrlCreateMenuItem("Open", $filemenu)
$fileitem2 = GUICtrlCreateMenuItem("Open", $filemenu)
$fileitem3 = GUICtrlCreateMenuItem("Open", $filemenu)
$fileitem4 = GUICtrlCreateMenuItem("Open", $filemenu)

; Create Browser
$GUIActiveX = GUICtrlCreateObj($IE, 0, 20, "", "")


Created the GUI, created some menus, and created the browser with 20 padding from top.

i set the size of the browser to "" cause i cant figure out how to set it to auto transform when i transform the gui.

i can do like this:

; Create Browser
$GUIActiveX = GUICtrlCreateObj($IE, 0, 20, $create, $create)

But then the scrollbars of the Browser disappears.

i really need help with this.

thanks for all help!

And this is just an include of the full script! so dont bother say i forgot the blabla.. include.

- Cameltoe

Edited by Cameltoe

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.