Sign in to follow this  
Followers 0
choto

tool over my gui , always?.....

9 posts in this topic

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. :whistle:

Share this post


Link to post
Share on other sites



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. :whistle:

<{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()

Share this post


Link to post
Share on other sites

Sorry for being off-topic, but nice avatar Josbe :dance: See you changed it :whistle:


FootbaG

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

... 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 GUI

#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 program

good luck

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Sorry for being off-topic, but nice avatar Josbe :dance: See you changed it :whistle:

<{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.

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 ANYGUI

Look HERE for an example that embeds a gui into the Notepad window....

Edited by quaizywabbit

[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites

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 ANYGUI

Look HERE for an example that embeds a gui into the Notepad window....

<{POST_SNAPBACK}>

thats really nice... quaizywabbit

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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....

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