Jump to content

Help closing embedded RDP object from GUICtrlCreateObj


Recommended Posts


I have been playing around with the embedded RDP client found >here.  I built a GUI front end and a SQLite DB for an "RDP launcher."  My problem is handling the close.  When I close the RDP session the control still appears in the GUI with the disconnect message.  I have been searching the MSDN documentation and the help file and have found the MSDN docs confusing.  I thought that something like this would work ... but it does not.

$oConnectionHandler = ObjEvent($oRDP_Ctrl,"_closeWindow","ondisconnected")

func _closeWindow()
; code will attempt to close window
 MsgBox("","","Connection being closed: "&_testDict($oConnectionHandler))

I can post all the code if that is helpful - most of it is not relevant as it deals with the DB and GUI so I did not want it to detract from or confuse what I am hoping is a relatively simple question.

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

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

  • Recently Browsing   0 members

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