Jump to content

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


 Share

Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...