timgames Posted October 31, 2007 Posted October 31, 2007 Is there anyway to show html pages like it is shown in IE inside a GuiCtrlCreateEdit("")? or is it only possible by opening a IE browser?
Zedna Posted October 31, 2007 Posted October 31, 2007 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 Resources UDF ResourcesEx UDF AutoIt Forum Search
timgames Posted October 31, 2007 Author Posted October 31, 2007 thanks Zedna, i never worked with GUICtrlCreateObj, but i like it already
Richard Robertson Posted October 31, 2007 Posted October 31, 2007 Yeah, Dale's IE UDFs are very popular. To answer your question though, no an edit cannot contain anything but straight text.
timgames Posted October 31, 2007 Author Posted October 31, 2007 Is there also a way to make a horizontal scroll bar?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now