Click to See Complete Forum and Search --> : Can one find windows in secondary AppDomains?


glystad
July 13th, 2007, 10:02 PM
I have an application with multiple AppDomains. Each AppDomain has a window. If I use EnumWindows I see only the window from the original, first AppDomain. Using Process.MainWindowHandle will get me the handle of whichever one of the windows was selected most recently, but I want to find all the windows for all the AppDomains. The windows all show up in the taskbar, if that means anything. Does anyone know how I can find all these windows from another application?