choto Posted August 1, 2005 Share Posted August 1, 2005 I have a gui that execute another tool, Is posible to get that tool ove my gui although I am using my gui, I want to say, can I take the tool over mu gui while I am using it? Other question in case the answer is no... Can I make a "hole" in my gui, so the other tool can be watched while I use my gui. thanks. Link to comment Share on other sites More sharing options...
Josbe Posted August 1, 2005 Share Posted August 1, 2005 I have a gui that execute another tool, Is posible to get that tool ove my gui although I am using my gui, I want to say, can I take the tool over mu gui while I am using it?Other question in case the answer is no...Can I make a "hole" in my gui, so the other tool can be watched while I use my gui.thanks. <{POST_SNAPBACK}>What? Overlapped windows? Always on Top attribute?...sorry, but you should be more clear in your description....if is AOT's attribute look: WinSetOnTop() AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
layer Posted August 2, 2005 Share Posted August 2, 2005 Sorry for being off-topic, but nice avatar Josbe See you changed it FootbaG Link to comment Share on other sites More sharing options...
choto Posted August 2, 2005 Author Share Posted August 2, 2005 Sorry I am learnig, what is the diference between overlaped and always in top.... I make a gui and I have a window of an opengl viewer, this opengl window is the one I want to be over my gui window. I can make the gui smaller and put the opengl window down it, but I like , if it was posible, that opengl window looks like it was part of the gui. Link to comment Share on other sites More sharing options...
Valuater Posted August 2, 2005 Share Posted August 2, 2005 ... but I like , if it was posible, that opengl window looks like it was part of the gui.<{POST_SNAPBACK}>this is an example of a GUI with internet explorer inside "part" of the GUIexpandcollapse popup#include "GUIConstants.au3" ; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI ; ; The full example is available in the test\ActiveX directory (TestXInternet.au3) ; ; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp $oIE = ObjCreate("Shell.Explorer.2") ; Create a simple GUI for our output GUICreate ( "Embedded Web control Test", 640, 580, -1, -1 , $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", 330, 420, 100, 30) $GUI_Button_Refresh = GuiCtrlCreateButton ("Refresh", 430, 420, 100, 30) $GUI_Button_Pause = GuiCtrlCreateButton ("Pause", 530, 420, 100, 30) GUISetState () ;Show GUI $oIE.navigate("www.neopets.com") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home $oIE.navigate("www.neopets.com") Case $msg = $GUI_Button_Back $oIE.GoBack Case $msg = $GUI_Button_Forward $oIE.GoForward Case $msg = $GUI_Button_Stop $oIE.Stop Case $msg = $GUI_Button_Refresh $oIE.Refresh Case $msg = $GUI_Button_Pause $oIE.Toggle_pause EndSelect Wend GUIDelete () Exit*** requires beta of autoit ***maybe you can change this$oIE = ObjCreate("Shell.Explorer.2")to your programgood luck8) Link to comment Share on other sites More sharing options...
Josbe Posted August 2, 2005 Share Posted August 2, 2005 Sorry for being off-topic, but nice avatar Josbe See you changed it <{POST_SNAPBACK}>Thanks.Sorry I am learnig, what is the diference between overlaped and always in top.... I make a gui and I have a window of an opengl viewer, this opengl window is the one I want to be over my gui window.I can make the gui smaller and put the opengl window down it, but I like , if it was posible, that opengl window looks like it was part of the gui.<{POST_SNAPBACK}>Oh...I see that you want embedded objects. First, I would suggest you that try/read the examples included in the helpfile[beta stuff -> GUICtrlCreateObj()] or like the example provided by Valuater. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 2, 2005 Share Posted August 2, 2005 (edited) you can make your gui a part of the tool, which would be far simpler than embedding the tool itself into another window. the modifications to the tool gui aren't permanent(only while script is running)see my signature for ANYGUILook HERE for an example that embeds a gui into the Notepad window.... Edited August 2, 2005 by quaizywabbit [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
Valuater Posted August 5, 2005 Share Posted August 5, 2005 you can make your gui a part of the tool, which would be far simpler than embedding the tool itself into another window. the modifications to the tool gui aren't permanent(only while script is running)see my signature for ANYGUILook HERE for an example that embeds a gui into the Notepad window....<{POST_SNAPBACK}>thats really nice... quaizywabbit 8) Link to comment Share on other sites More sharing options...
choto Posted August 5, 2005 Author Share Posted August 5, 2005 I run the example of notepad you say, but the only thing the script does is open teh notepad....Do you know what is the problem.... 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