Jump to content
Sign in to follow this  

inet tab

Recommended Posts

i got now this source with some help off you guys but i need one thing more to know, i wanna create buntons for each site but it clicked on it it must stay there, sow if i click on a other bunton with a difrent site then the other site stays in background how can i do that

#include <GUIConstants.au3>
$oIE = ObjCreate("Shell.Explorer.2")
#include <Date.au3>

GUICreate ("24 Help", @DesktopWidth, @DesktopHeight, 0, 0, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX      = GUICtrlCreateObj   ( $oIE,     10, 40 ,  @DesktopHeight, @DesktopWidth)
$GUI_Button_Back    = GuiCtrlCreateButton   ("Back",     205, 3, 100,  30)
$GUI_Button_Forward = GuiCtrlCreateButton   ("Forward", 305, 3, 100,  30)
$GUI_Button_Home    = GuiCtrlCreateButton   ("Home",    405, 3, 100,  30)
$GUI_Button_Stop    = GuiCtrlCreateButton   ("Stop",    505, 3, 100,  30)
GUICtrlCreateDate (@YEAR&"/"&@MON&"/"&@MDAY, 5,10,185,20 )

GUISetState ()


While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case $msg = $GUI_Button_Home

            Until NOT $oIE.Busy
        Case $msg = $GUI_Button_Back
        Case $msg = $GUI_Button_Forward
        Case $msg = $GUI_Button_Stop

GUIDelete ()


Share this post

Link to post
Share on other sites

You probbably need several IE objects.

;Assosiate $oIE[] array with buttons
$oIE[$i] = ObjCreate("Shell.Explorer.2")

I have not tried to maintain com objects in autoit array so I don't know how it will play out. Just a sugestion :whistle:

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...