Jump to content

_IECreateEmbedded, how to set css style?


AlmarM
 Share

Recommended Posts

Hiya!

If you run this example you can see my _IECreateEmbedded has these scrollbars. How do I insert this css style to get rid of them?

<style type="text/css">html, body { margin: 0; padding: 0; }</style>

#include <IE.au3>

$GUI = GUICreate("")
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE, 10, 10, 267, 319)
_IENavigate($oIE, "http://www2.buienradar.nl/display.php?width=267&height=319&country=nl")

GUISetState()
While 1
    Switch GUIGetMsg()
        Case -3
            Exit
    EndSwitch
WEnd

I tried _IEDocInsertHTML. But since the URL hasn't got any "<head>" tag inside it's source, it failed.

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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