Jump to content

Recommended Posts

Posted (edited)

#Include <ie.au3>

$GUI=GUICreate("", 200, 200)

$oIE=_IECreateEmbedded()

GUICtrlCreateObj($oIE,10,10,180,180)

_IENavigate($oIE, 'about:blank')

$DESCRIPTION = '<html><style type="text/css">BODY {overflow: hidden;}</style><body><h1>Hello!</h1></body></html>'

_IEDocWriteHTML($oIE,$DESCRIPTION)

GUISetState()

Do

Until GUIGetMsg() = -3

Edited by Marrio
Posted (edited)

Thank you very much, Marrio! So hiding scrollbars is an IE, not AutoIt issue after all... Your example helped me solve my problem... I had overflow set to hidden in my css body style definition. The reason it did not work was I had

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

defined in my html document... When I removed it, everything was ok. Are there however some parameters in the AutoIt _IECreateEmbedded function that can add or disable statusbar, right-click functionality, etc.?

Edited by samozaparola

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
×
×
  • Create New...