Drew Posted May 21, 2009 Share Posted May 21, 2009 (edited) Alright so after playing with it a bit , I seriously can't figure out how to modify the size of the window that displays the IE embed. I want to modify the entire GUI , but can't seem to get this to import into Koda.... I fail horribly at GUI's without it.... This would seem to be a simple question with anyone whos had this problem , or just the know-how , before. Here's the code: P.S. Just for clearification purposes.... What I'm trying to do: Modify the GUI entirely , but moreso ->> How can I do a GUI in Koda and than have the embed where I want it? expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () GUICreate("Dreu's Little Window", 640, 580, _ (@DesktopWidth - 600) / 2, (@DesktopHeight - 540) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) $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() ;Show GUI _IENavigate ($oIE, "LINK GOES HERE") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home _IENavigate ($oIE, "LINK GOES HERE") 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 Quick Note: Thats pretty much directly from the Help File. Edited May 21, 2009 by Drew Link to comment Share on other sites More sharing options...
Bert Posted May 22, 2009 Share Posted May 22, 2009 Take a look at my Vollyviewer. It will do what you need. Link for it is in my signature. It uses a embedded IE window and has resize support. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now