Hey all,
Without resorting to PInvoke, is there a way in .net to find out what windows are open? This is slightly different than asking what applications are running in memory. For example, Firefox could be running, but could be more than one window. Basically, I just want to be privy to the same information that the taskbar (and alt-tab?) is.
Also, once I have a reference to a window, is there any way to programatically give it focus?
Is there any way to do this with managed code?