Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Gui- You own I.N explorer :) Empty Gui- You own I.N explorer :) Sat Sep 18, 2010 4:06 pm

Erebus

Erebus
Achiever
Loading
So, we go to the #includes. It's just easy stuff.
Code:
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Easy, right? Nothing hard.

Now time for the whole gui. The most important thing you need to have is this:
Code:
Code:
Global $oIE = ObjCreate("Shell.Explorer.2")
Opt("GUIOnEventMode", 1)

But let's put the whole part of that.
Code:
Code:
Global $oIE = ObjCreate("Shell.Explorer.2")
Opt("GUIOnEventMode", 1)
$FORM = GUICreate("Shadow-wall Client", 800, 650)
$GUIActiveX = GUICtrlCreateObj ($oIE, 0, 0, 800, 630)
$oIE.navigate("http://Www.computalks.com")

Now, navigate is the most thing you need to have. But where not done yet.
Code:
Code:
Global $oIE = ObjCreate("Shell.Explorer.2")
Opt("GUIOnEventMode", 1)
$FORM = GUICreate("Shadow-wall Client", 800, 650)
$GUIActiveX = GUICtrlCreateObj ($oIE, 0, 0, 800, 630)
$oIE.navigate("http://www.computalks.com")
$Options = GUICtrlCreateMenu("Options")
$About = GUICtrlCreateMenuItem("About", $Options)
$Exit = GUICtrlCreateMenuItem("Exit", $Options)
GUICtrlSetOnEvent($About, "About")
GUICtrlSetOnEvent($Exit, "Close")
GUISetOnEvent($GUI_EVENT_CLOSE, "Close")
GUISetState(@SW_SHOW)

(@SW_SHOW) That is one of the thing you need to have, really. ( o _ o)
Code:
Code:
While 1
  Sleep(1000)
WEnd

You always need to have while 1 and sleep.
Now for the funcs.
Code:
Code:
Func Close()
  Exit
EndFunc

Code:
Func About()
  MsgBox(64, "About", "Helped by TzukiX- Scipted by ___")
EndFunc

The funcs are the work on the this.
Code:
Code:
$About = GUICtrlCreateMenuItem("About", $Options)
$Exit = GUICtrlCreateMenuItem("Exit", $Options)
So you always need to remember that. Well, that was it. Hope it helped.

2Gui- You own I.N explorer :) Empty Re: Gui- You own I.N explorer :) Sat Sep 18, 2010 11:44 pm

Apocalypse

Apocalypse
Master
Loading
not bad TZ.

3Gui- You own I.N explorer :) Empty Re: Gui- You own I.N explorer :) Sun Sep 19, 2010 1:19 am

Sleepy

Sleepy
Contributor
Loading
Nice.

+ Rep.

4Gui- You own I.N explorer :) Empty Re: Gui- You own I.N explorer :) Sun Sep 19, 2010 5:27 pm

Erebus

Erebus
Achiever
Loading
Sleepy wrote:Nice.

+ Rep.
Thanks man ^^

Sponsored content


Loading

View previous topic View next topic Back to top  Message [Page 1 of 1]

Related topics

Permissions in this forum:
You cannot reply to topics in this forum