Masen Posted January 26, 2017 Posted January 26, 2017 im trying to insert/attach a window into another window with out opening 2 autoit forms. Form1 is the main form and trying to get Form2 inserted into form1. $Form1_1 = GUICreate("Form1", 1305, 659, 176, 116) $Form2_2 = GUICreate("Form2", 635, 385, 385, 635)
Subz Posted January 27, 2017 Posted January 27, 2017 What exactly are you trying to do, have two separate windows? In which case you can use a child window.
Masen Posted January 27, 2017 Author Posted January 27, 2017 no im trying to combine the second window inside the other window to make 1 window, and im having a hard time figureing this out
Subz Posted January 27, 2017 Posted January 27, 2017 Can you post your current code or a screenshot of what you mean?
Masen Posted January 27, 2017 Author Posted January 27, 2017 i got nothing for the code. iv been working with #include <IE.au3> _IECreateEmbedded ( ) but i keep ending up with a child form and im trying to get that into the same window instead of having 2 windows
Subz Posted January 27, 2017 Posted January 27, 2017 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) GUISetState(@SW_SHOW) _IENavigate($oIE1, "http://www.google.com") _IENavigate($oIE2, "http://www.autoitscript.com") _IEAction($oIE1, "stop") _IEAction($oIE2, "stop") While 1 Local $iMsg = GUIGetMsg() Select Case $iMsg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now