Jump to content

Embedded IE and still visible Inputs


hannes08
 Share

Recommended Posts

Hello Friends,

I have a strange behavior when I am displaying a animated gif in an embedded IE.

The source of the embedded IE is:

$oIE = _IECreateEmbedded()
$GuiObj = GUICtrlCreateObj($oIE, 10, 10, 800, 600)
_IENavigate($oIE, "about:blank")
_IEBodyWriteHTML($oIE, "<table style="height:100%; width:100%;"><tbody><tr style="height:100%; width:100%;"><td style="height:100%; width:100%;" valign="center" align="center"><img src="&quot; & $s_PicLOAD & &quot;">")
$oIE.document.body.scroll = "no"
$oIE.document.body.style.border = "0px"
$oIE.document.body.style.background = "#" & $i_pixelcolor

After I create the object, I mmediately hide it by:

GUICtrlSetState($GuiObj, $GUI_HIDE)

When I need it, I display it by:

GUICtrlSetState($GuiObj, $GUI_SHOW)

The problem is, that I still see the Input fields, I am hiding before I display the embedded object.

You can see it in the attached screenshot.

Hiding of the Input fields (happens befor I un-hide the IE object:

GUICtrlSetState($I_Sel_Order, $GUI_HIDE)
GUICtrlSetState($I_Sel_PSP, $GUI_HIDE)
GUICtrlSetState($L_Sel_Order, $GUI_HIDE)
GUICtrlSetState($L_Sel_PSP, $GUI_HIDE)
GUICtrlSetState($B_Sel_PSP, $GUI_HIDE)
GUICtrlSetState($B_Sel_OK, $GUI_HIDE)
GUICtrlSetState($B_Sel_NOK, $GUI_HIDE)

Anyone an idea what could cause this?

post-58899-0-41711500-1321631380_thumb.j

Edited by hannes08
Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
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...