Jump to content

Resizeable IEembedded


Recommended Posts

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
Link to comment
Share on other sites

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...