Jump to content
Sign in to follow this  
jjump

HTML in GUI

Recommended Posts

jjump

I have a GUI that I would like to add HTML too so that it can display updates etc.. Is this possible?

Ian

Share this post


Link to post
Share on other sites
water

If you mean to imbed a Browser in your GUI then please have a look at Function _IECreateEmbedded.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
jjump

Hi,

I have looked it up, but still cannot see how to make it show html in a gui?

Thanks

Ian

Share this post


Link to post
Share on other sites
spudw2k
jjump

Is there anyway of actually showing a webpage in the input box, or does it just not support that?

Ian

Share this post


Link to post
Share on other sites
water

Did you have a look at the example in _IECreateEmbedded?

This embeds a browse robject in a GUI.

If this isn't what you want, could you please describe your problem in detail?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
failedtocompile

Do you mean something like below?

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

$oIE = ObjCreate("Shell.Explorer.2")


$Form1 = GUICreate("", 670, 481, 193, 125)

GUISetState()
$Button1 = GUICtrlCreateButton("", 50, 40, 81, 25, $BS_PUSHLIKE)
$Button2 = GUICtrlCreateButton("", 154, 40, 89, 25, $WS_GROUP)
$Button3 = GUICtrlCreateButton("", 266, 40, 89, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("", 370, 40, 89, 25, $WS_GROUP)
$Button5 = GUICtrlCreateButton("", 482, 40, 89, 25, $WS_GROUP)
GUICtrlCreateLabel("THIS IS A DRAFT CONCEPT ONLY .. " & @CRLF & "All content is for testing purposes only and are not tutorials" & @CRLF &"", 154, 395, 250, 60)

$GUIActiveX = GUICtrlCreateObj($oIE, 50, 71, 450, 275)

$oIE.navigate("http://google.com")



While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit


    EndSwitch
WEnd

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.