For just the windows, and not the process itself, you could use the GetWindow function with the constants that have the prefix GW_.

Use AnyPopup to determine if a popup window exists anywhere on the screen.

Use GetLastActivePopup to obtain the handle of the most recently used popup window for a given parent window. returns a handle to most recently used popup window.

Use ShowOwnedPopups to show or hide all popup windows owned by the specified window.

If you need a demo, I can whip one up for ya.