|
You last visited: Today at 14:34
Advertisement
Website in GUI
Discussion on Website in GUI within the AutoIt forum part of the Coders Den category.
06/19/2009, 16:08
|
#1
|
elite*gold: 40
Join Date: Dec 2007
Posts: 651
Received Thanks: 1,737
|
Website in GUI
Hi... ich hab grad mal bisschen mit dem Koda FormDesigner gespielt aber nun ist da neee gaanz große frage aufgetaucht ^.^
Kann ich irgendwie eine Website in die GUI einbauen?
Wenn ja wäre es echt cool wenn mir einer sagen könnte wie
|
|
|
06/19/2009, 17:00
|
#2
|
elite*gold: 20
Join Date: Jun 2008
Posts: 831
Received Thanks: 218
|
schau mal
du musst ein ieobjekt erstellen und in die gui einbauen.
das hab ich in der hilfe gefunden
Quote:
_IEErrorHandlerRegister ()
$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _
(@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
$GUI_Button_Back = GUICtrlCreateButton("Back", 10, 420, 100, 30)
$GUI_Button_Forward = GUICtrlCreateButton("Forward", 120, 420, 100, 30)
$GUI_Button_Home = GUICtrlCreateButton("Home", 230, 420, 100, 30)
$GUI_Button_Stop = GUICtrlCreateButton("Stop", 340, 420, 100, 30)
GUISetState() ;zeigt GUI
_IENavigate ($oIE, "http://www.autoitscript.com")
; wartet, bis der Benutzer das Fenster schließt
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $GUI_Button_Home
_IENavigate ($oIE, "http://www.autoitscript.com")
Case $msg = $GUI_Button_Back
_IEAction ($oIE, "back")
Case $msg = $GUI_Button_Forward
_IEAction ($oIE, "forward")
Case $msg = $GUI_Button_Stop
_IEAction ($oIE, "stop")
EndSelect
WEnd
GUIDelete()
Exit
|
|
|
|
06/19/2009, 17:12
|
#3
|
elite*gold: 0
Join Date: Aug 2008
Posts: 820
Received Thanks: 909
|
wenn du internetseiten in einem GUI anzeigen willst, würde ich mit
Code:
GUICtrlCreateObj (...)
arbeiten.
das wäre in dem fall:
Code:
$Obj = ObjCreate ("Shell.Explorer.2")
$GUIObj = GuiCtrlCreateObj ($Obj, 100, 100, 500, 500)
als beispiel jetzt.
zu einer Website navigieren kannst du das Objekt dann mit
Code:
$Obj.navigate ("deine adresse")
mfg felixli93
|
|
|
06/19/2009, 18:32
|
#4
|
elite*gold: 40
Join Date: Dec 2007
Posts: 651
Received Thanks: 1,737
|
Thanks =)
|
|
|
Similar Threads
|
Erstelle eure WebSite / Create your Website
10/20/2010 - elite*gold Trading - 39 Replies
Hallo Community,
Aktuelle Treasures
No permission - GEKAUFT
No permission - OFFEN
Da ich genügend Zeit habe, und neben nach neuen Herrausforderungen suche, bietet ich ab heute meinen Website Service an.
|
[Website] need free a website? look here.
11/10/2008 - CO2 Private Server - 9 Replies
hey server owners im a pro with moonfruit (website creator) and yes i make websites for you guys for free because i like it to make them.
What you guys are thinking:
wtf, moonfruit is free for everyone why offering your service?
answer to you guys:
because i like to make website with moonfruit for people and i know everything about making website with moonfruit, moonfruit does have many secret options that not people know
[email protected] is my email you can add me anytime
|
All times are GMT +1. The time now is 14:35.
|
|