I have a multi-window application. There can be several windows all one on top of another.
I would like a dialog to pop up when an event is set and have this dialog be the top most window. This dialog will ask the user if they wish to shutdown the device (this is why I want to be able to show up as the topmost window).
Can someone point me to some sample code as to how to do this? I am sensing the event in a thread. Or even explain the steps to do this?
Thanks in advance!