I need to capture particular windows of 3rd party process. I can find main window handle as Process.MainWindowHandle, but what I can use to list other windows?
I am
The EnumChildWindows function might help you out. The child windows could also have children and so on.
There is also GetWindow and EnumThreadWindows
Another post here with some more details: Get handles to all windows of a process