Sign in to follow this  
Followers 0
gsb

3-D like border around GUICtrlCreateObj() w/ _IECreateEmbedded()

2 posts in this topic

So I have a "background" GUI and I want this "foreground" GUI as transparent and borderless.

Fine.

But when I add the IE object I get a thin 3-D border around the control.

Is there a way to remove it?

Global $foreground=GUICreate("", 800, 700, 0, 5,$WS_POPUP,BitOr($WS_EX_LAYERED,$WS_EX_MDICHILD),$Background)
GUICtrlCreatePic(@ScriptDir & "\spacer.gif",0,0, 0,0); oddly required

$ieObj = _IECreateEmbedded()
$GUIObj = GUICtrlCreateObj($ieObj, 0, 0, 800, 700)

_IENavigate($ieObj, "http://www.google.com")

GUISetState(@SW_SHOW,$foreground)

Thanks,

gsb


"Did you ever stop to think? ...and forget to restart!"

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'm too searching for a more decent solution than

$GUIObj = GUICtrlCreateObj($ieObj, -1, -1, 802, 702)
Anyone?

Well... just found it ;)

$oIE.document.body.style.border = 0
Edited by STEPHANVS

Share this post


Link to post
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
Sign in to follow this  
Followers 0