aa2zz6 Posted June 10, 2019 Share Posted June 10, 2019 When I access our portal maps using the IECreateEmbedded function inside a GUI the site & map flickers white like crazy but when I open the IE browser it's flawless. The goal is to embed different portal facility maps into 1 application. Is there a way to fix this or make it run smoother by chance? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #include <MsgBoxConstants.au3> Opt("GUIResizeMode", $GUI_DOCKBORDERS) $GUI = GUICreate("NEO Portal", 1116, 800, -1, -1, BitOR($WS_SIZEBOX , $WS_CLIPCHILDREN) , $WS_EX_COMPOSITED) ;, BitOR($WS_SIZEBOX,$WS_THICKFRAME, $WS_TABSTOP) $object = _IECreateEmbedded () Opt("GUIResizeMode", 905) $object_ctrl = GUICtrlCreateObj($object, -2, -2, 1120, 804) $oIE = _IENavigate($object,"https://.net/hu/sharing/oauth2/authorize?client_id=Workforce&response_type=token&state=") GUISetState(@SW_MAXIMIZE) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Link to comment Share on other sites More sharing options...
Danp2 Posted June 10, 2019 Share Posted June 10, 2019 Have you looked at this thread to control the IE version? aa2zz6 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
aa2zz6 Posted June 10, 2019 Author Share Posted June 10, 2019 Local $regValue = "0x2AF9" RegWrite("HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", _ProcessGetName(@AutoItPID), "REG_DWORD", $regValue) RegWrite("HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION", _ProcessGetName(@AutoItPID), "REG_DWORD", $regValue) 11001 (0x2AF9 Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. 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