Sign in to follow this  
Followers 0
SalazarCheats

Web browser

3 posts in this topic

Ok im making a web browser... And its not working that well...

Can anyone help me at all...

Heres my Script so far:

CODE
#include <GuiConstants.au3>

#NoTrayIcon

Global $file

Opt("GUIResizeMode", 0x000322)

;Main Window

$mainwindow = GUICreate("GWeb", @DesktopWidth - 100, @DesktopHeight - 100, -1, -1, $WS_SIZEBOX + $WS_MINIMIZEBOX)

GUISetState()

;Main Buttons

$back = GUICtrlCreateButton("Back", 10, 20, 50, 30)

$forward = GUICtrlCreateButton("Forward", 60, 20, 50, 30)

$refresh = GUICtrlCreateButton("Refresh", 110, 20, 50, 30)

$GO = GUICtrlCreateButton("GO", @DesktopWidth - 260, 20, 60, 30)

$MailLaunch = GUICtrlCreateButton("Mail", 160, 20, 50, 30)

$addressbar = GUICtrlCreateInput("www.GWeb.co.uk", 215, 25, @DesktopWidth - 480, 21)

;The Menu

$MenuItem1 = GUICtrlCreateMenu("File")

$Open = GUICtrlCreateMenuitem("Open", $MenuItem1)

$Recent = GUICtrlCreateMenu("Recent Files", $MenuItem1, 1)

$MenuItem6 = GUICtrlCreateMenuitem("", $MenuItem1)

$Exit = GUICtrlCreateMenuitem("Exit", $MenuItem1)

$MenuItem2 = GUICtrlCreateMenu("Tools")

$ConectionDetails = GUICtrlCreateMenuitem("Connection Details", $MenuItem2)

$MenuItem4 = GUICtrlCreateMenu("Help")

$Help = GUICtrlCreateMenuitem("Help", $MenuItem4)

$About = GUICtrlCreateMenuitem("About", $MenuItem4)

$MenuItem13 = GUICtrlCreateMenuitem("", $MenuItem4)

;The Internet Window

$Tab1 = GUICtrlCreateTab(67, 143, 850, 450)

GUICtrlCreateTabItem("1")

$oIE = _IECreateEmbedded()

$GUIActiveX = GUICtrlCreateObj($oIE, 66, 138, 550, 360)

_IENavigate($oIE, "http://www.autoitscript.com")

GUICtrlCreateTabItem("2")

$oIE = _IECreateEmbedded()

$GUIActiveX = GUICtrlCreateObj($oIE, 40, 50, 550, 360)

_IENavigate($oIE, "http://www.google.com")

GUICtrlCreateTabItem("3")

$oIE = _IECreateEmbedded()

$GUIActiveX = GUICtrlCreateObj($oIE, 40, 50, 550, 360)

_IENavigate($oIE, "http://yahoo.com")

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

any pleple that can help plz post!!


Ok im 14 with a spelling age of a 9 year old... that explanes all my spelling mistakes

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Ok im making a web browser... And its not working that well...

Can anyone help me at all...

I'm trying to code a new OS and somehow it's broken, help?

No, really, what's the problem man?

*** Ok I checked. You must include the IE UDF. Otherwise the IE functions don't work.

Edited by amokoura

Share this post


Link to post
Share on other sites

I'm trying to code a new OS and somehow it's broken, help?

No, really, what's the problem man?

*** Ok I checked. You must include the IE UDF. Otherwise the IE functions don't work.

oh thank you here is my code now put it dont work... you cant see the tabs and i messes up at first...

Can some1 Run it and the edit it and post back or tell me where im going wrong and then tell me how to fix

Thank you


Ok im 14 with a spelling age of a 9 year old... that explanes all my spelling mistakes

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  
Followers 0