Jump to content

Embedded IE flickers when resized


AdmiralAlkex
 Share

Recommended Posts

Anyway to get rid of the flicker? It's completely unusable this way.

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

Local $sHTML =  '<body bgcolor="#1E1E1E"></body>'

$hGui = GUICreate("flicker test", 480, 320, -1, -1, BitOR($GUI_SS_DEFAULT_GUI, $WS_SIZEBOX))

Local $oIE = _IECreateEmbedded()
$hEmbed = GUICtrlCreateObj($oIE, 0, 0, 480, 320)
GUICtrlSetResizing(-1, $GUI_DOCKBORDERS)

_IENavigate($oIE, "about:blank")
_IEDocWriteHTML($oIE, $sHTML)

GUISetState()

While 1
    If GUIGetMsg() = $GUI_EVENT_CLOSE Then ExitLoop
WEnd

Win10

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