Jump to content

IECreateEmbedded flickers like crazy on Portal map


Recommended Posts

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

 

img jpeg.jpg

Link to comment
Share on other sites

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

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...