Jump to content

Display Web Site


Recommended Posts

Did you try looking up the _IE controls in the helpfile? You can also use pictures as buttons and link them to web pages if you do not actually need to update them from the web. (see below)

#include <GUIConstants.au3>

$frmWebLinks = GUICreate("Web Links!", 266, 130, 193, 115)
$picGoogleLink = GUICtrlCreatePic(@ScriptDir & "\GoogleLink.jpg", 16, 16, 100, 100, BitOR($SS_NOTIFY,$WS_GROUP))
$picAutoITLink = GUICtrlCreatePic(@ScriptDir & "\AutoITLink.jpg", 152, 16, 100, 100, BitOR($SS_NOTIFY,$WS_GROUP))

While 1
    $Msg = GUIGetMsg()
        Case $Msg = $GUI_EVENT_CLOSE
        Case $Msg = $picGoogleLink
            run(@comspec & " /c start http://www.google.com","",@SW_HIDE)
        Case $Msg = $picAutoITLink
            run(@comspec & " /c start http://www.autoitscript.com","",@SW_HIDE)
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...