Jump to content

How to make Html show inside GuiCtrlCreateEdit(?


timgames
 Share

Recommended Posts

Look at GUICtrlCreateObj()

#include <GUIConstants.au3>
#include <IE.au3>

$oIE = _IECreateEmbedded()
$gui = GUICreate ('HTML in AutoIt', @DesktopWidth - 3, @DesktopHeight - 50,0,0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
GUISetState (@SW_MAXIMIZE) 
$size = WinGetClientSize($gui)
GUICtrlCreateObj ($oIE, 3, 3, $size[0] - 2 * 3, $size[1] - 2 * 3)
GUISetState (@SW_SHOW) 
_IENavigate($oIE, 'www.autoit3.com', 0) ; don't wait

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
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...