Jump to content
Sign in to follow this  
thelex

Resizeable IEembedded

Recommended Posts

thelex

I want to know how i can make the embedded IE window in my GUI resize when i resize the main GUI. Screenshot to illustrate:

Posted Image

#include <GUIConstants.au3>
#include <IE.au3>
#NoTrayIcon
$IE = _IECreateEmbedded()
GUICreate("TEST", 500, 200, -1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_EX_LAYERED)) 
$IEGUI = GUICtrlCreateObj   ($IE, 0, 0, 499, 199)
GUISetState()
_IENavigate ($IE, "http://www.google.com", 0)

While 1
    $GUI = GUIGetMsg()
    Select
        Case $GUI = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd

Share this post


Link to post
Share on other sites
sandin
thelex

for version 3.2.12.0:

...
THANKS :)

Do you happen to know how to make it transparent too? like from 0 to 255 ..

Share this post


Link to post
Share on other sites
sandin

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.