My program A launched program B (both are separate exe's). Now my program B need to find if A have any modal/child window open using A's processID.

Is there any way to do so?

Thanks a lot for your help.