Jump to content

Inserting a Window into the same window

Recommended Posts

You mean you want to embed two IE objects into your window something like this:

#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>

Local $oIE1 = _IECreateEmbedded()
Local $oIE2 = _IECreateEmbedded()
GUICreate("Embedded Web control Test", 620, 630, $WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
GUICtrlCreateObj($oIE1, 10, 10, 600, 300)
GUICtrlCreateObj($oIE2, 10, 320, 600, 300)


_IENavigate($oIE1, "http://www.google.com")
_IENavigate($oIE2, "http://www.autoitscript.com")
_IEAction($oIE1, "stop")
_IEAction($oIE2, "stop")

While 1
    Local $iMsg = GUIGetMsg()
        Case $iMsg = $GUI_EVENT_CLOSE


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...