HiNoTora Posted October 29, 2013 Share Posted October 29, 2013 Hihi i made one Gui, but i have somekind error in it. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> _IEErrorHandlerRegister() Local $oIE = _IECreateEmbedded() GUICreate("EmbeddedWebControl-Test", 1000, 1200, _ (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) GUICtrlCreateObj($oIE, 10, 40, 400, 200) GUISetState() _IENavigate($oIE, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx") While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop WEnd GUIDelete() Exit And as u can see GUI is big enough, So id like to add one more frame in it with different webpage. but as much i try, it allways opens up new gui with new page. How i can have second one ion side in this GUI? Link to comment Share on other sites More sharing options...
HiNoTora Posted October 29, 2013 Author Share Posted October 29, 2013 Hihi i made one Gui, but i have somekind error in it. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> _IEErrorHandlerRegister() Local $oIE = _IECreateEmbedded() GUICreate("EmbeddedWebControl-Test", 1000, 1200, _ (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) GUICtrlCreateObj($oIE, 10, 40, 400, 200) GUISetState() _IENavigate($oIE, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx") While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop WEnd GUIDelete() Exit And as u can see GUI is big enough, So id like to add one more frame in it with different webpage. but as much i try, it allways opens up new gui with new page. How i can have second one ion side in this GUI? And one more thiing, NO scroll bars and Gui shold be topmost >.< Link to comment Share on other sites More sharing options...
water Posted October 29, 2013 Share Posted October 29, 2013 Something like this? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> _IEErrorHandlerRegister() Global $oIE1 = _IECreateEmbedded(), $oIE2 = _IECreateEmbedded() Global $iGUIWidth = @DesktopWidth-30, $iGUIHeight = @DesktopHeight-70 $hGUI = GUICreate("EmbeddedWebControl-Test", $iGUIWidth, $iGUIHeight, 0, 0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) $hObj1 = GUICtrlCreateObj($oIE1, 10, 10, $iGUIWidth-20, ($iGUIHeight/2) - 5) $hObj2 = GUICtrlCreateObj($oIE2, 10, ($iGUIHeight/2) +15, $iGUIWidth-20, ($iGUIHeight/2) - 25) GUISetState() _IENavigate($oIE1, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx") _IENavigate($oIE2, "http://www.autoitscript.com") While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() Exit My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Solution HiNoTora Posted October 29, 2013 Author Solution Share Posted October 29, 2013 Something like this? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> _IEErrorHandlerRegister() Global $oIE1 = _IECreateEmbedded(), $oIE2 = _IECreateEmbedded() Global $iGUIWidth = @DesktopWidth-30, $iGUIHeight = @DesktopHeight-70 $hGUI = GUICreate("EmbeddedWebControl-Test", $iGUIWidth, $iGUIHeight, 0, 0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) $hObj1 = GUICtrlCreateObj($oIE1, 10, 10, $iGUIWidth-20, ($iGUIHeight/2) - 5) $hObj2 = GUICtrlCreateObj($oIE2, 10, ($iGUIHeight/2) +15, $iGUIWidth-20, ($iGUIHeight/2) - 25) GUISetState() _IENavigate($oIE1, "http://fxsignals.fxmarketleaders.com/shortsignalsng.aspx") _IENavigate($oIE2, "http://www.autoitscript.com") While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() Exit YUSH! Thanks man.. $oIE2 = _IECreateEmbedded() was the thing i didnt know xD thanks again Link to comment Share on other sites More sharing options...
water Posted October 29, 2013 Share Posted October 29, 2013 My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
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