Without resorting to PInvoke, is there a way in .net to find out which windows are open? This is slightly different from what applications are running in memory. For example, Firefox may work, but there may be more than one window. Basically, I just want to be familiar with the same information as the taskbar (and alt-tab?).
Also, as soon as I have a link to a window, is there any way to programmatically give it focus?
Is there a way to do this using managed code?
source
share