Miniz Posted August 8, 2008 Share Posted August 8, 2008 (edited) Is there any way that i can place a picture on top of an embeded browser? the image i'm trying to display is not showing : ( -Alexander example: expandcollapse popup#include <GUIConstantsEx.au3> #include <IE.au3> #include <WindowsConstants.au3> _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() ;Show GUI _IENavigate ($oIE, "http://www.google.com/search?q=autoit") ; ALOTOFCODE : ) GUICtrlCreatePic('test.gif', 20, 60, 102, 75) ; 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, "http://www.google.com/search?q=autoit") 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 Edited August 9, 2008 by Miniz Link to comment Share on other sites More sharing options...
dbzfanatic Posted August 9, 2008 Share Posted August 9, 2008 Do you mean on top as in above or as an overlay? Also is the "test.gif" picture in the same directory as the autoit exe? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Miniz Posted August 9, 2008 Author Share Posted August 9, 2008 Yes as an overlay, or like an layer on top of an other layer in photoshop if you know what i mean. test.gif is in the same directory. Thank you for any help! : ) Link to comment Share on other sites More sharing options...
dbzfanatic Posted August 9, 2008 Share Posted August 9, 2008 Yes I understand what you mean. If I'm not mistaken (I very well could be) embeded browsers are on the top z layer by default. You could try going into koda with your form settings and sending the broswer to the back and bringing the picture to the front. That would probably be the easiest way to test. Sorry I don't have any code to post but I don't have autoit installed on this particular computer. Hope this helps Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Miniz Posted August 9, 2008 Author Share Posted August 9, 2008 Thank you, but is there any way to bring the picture to the front and the browser to the back without using koda? Link to comment Share on other sites More sharing options...
dbzfanatic Posted August 11, 2008 Share Posted August 11, 2008 There is but I'm not sure about it. It's been a while since I've worked with autoit. Try searching the forum for z layers. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] 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