I'm making an application where I interact with each running application, right now, I need a way of getting the windows zorder, for instance, if firefox and notepad are running, I need to know which is the must upfront... Any ideas ? (basides doing this for each application mainWindow I also need to do it for it's childs and sisters (windows belonging to the same process) windows)
Best Regards, Jose