Jump to content
Sign in to follow this  
erezlevi

GUI help - how to put GUI on top not working for me

Recommended Posts

erezlevi

hi,

for some reason the code is not showing the GUI after linking it to a parant one can someone help:

#include <GUIConstants.au3>
#include <File.au3>
#Include <GuiListView.au3>
#include <string.au3>
#include <Array.au3>

Opt("WinDetectHiddenText", 1)
$m=WinGetHandle ("Avaya Softconsole")
;MsgBox (0,"",$m)
GUICreate("", 720, 35, 10, 635, $WS_POPUPWINDOW+$WS_EX_TOPMOST,$m)
$newcall=GUICtrlCreateButton ("(F3) שיחה " & @CRLF & "חדשה" , 5,5)
GUISetState(@SW_SHOW)



While 1
    $msg = GUIGetMsg()
    Select
    ;Case $msg=$newcall
    ;   ControlClick ("Avaya Softconsole","",8011,"left",1,51,18)
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd

Share this post


Link to post
Share on other sites
rasim

GUICreate("", 720, 35, 10, 635, $WS_POPUPWINDOW, $WS_EX_TOPMOST)

Share this post


Link to post
Share on other sites
erezlevi

GUICreate("", 720, 35, 10, 635, $WS_POPUPWINDOW, $WS_EX_TOPMOST)
first thanks it is working, but how do I link it only to the parant gui so if it is minimized and maximized only then the GUI will come back up and down?

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  

×