Im working on a kinect app (app A), where I want to launch another local kinect application (app B).
I can launch the app B no problem, and it shows up over my kinect launch app and life is good. To close app B there is a kinect gesture I have to nuke it.
What Im not sure about is that I want app A to know when app B has gone away, and for app A to grab some event so that it can go fullscreen again and reconnect with the kinect sensor.
I know how to do everything except detect from app A when there is nothing on top of it and it can take control again.
What do I need to do? Thanks!
So I found the proper (I think) way to deal with this, I was overcomplicating the issue. I’m using System.Diagnostics.Process to launch app B from app A- so I have access to that process directly since app A never stops. I just hook up to the Exited event and then I can have app A do whatever I need it to when app B goes away.