I am using code nearly identical to that found on
http://www.ml-consult.co.uk/foxst-11.htm (using api calls to GetWindow and GetWindowText ) to iterate through other open applications and minimize them so that only my form is in front of the user.
This works.
Only problem is, it works TOO well. It also minimizes other stuff, like DDE window processes that were invisible before and now I have these little minimized items in the task bar.
Is there a way I can detect whether the Windows I am minimizing are only those which are already visible?