Jump to content

Recommended Posts

Posted

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

Posted

What flicker? Windows 10 1703 x64 Enterprise

The following may help (can't try it myself though)

AutoIt Help _IECreateEmbedded
"You may have object visibility issues unless you use the Windows style $WS_CLIPCHILDREN in GUICreate()."

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...