I have an application where I display a custom form to display a progress bar. Unfortunatly, there are times when the form can accidentally hide behind another form in the same application. Is there a way to test to see if the form in question is "hiding" behind another form, or in otherwords, not "really" visible at the current moment?
.Visible, .TopMost don't work for what I need and using .ShowModal() is not an option because of it's Thread blocking.
I was curious if there was a buil-in .Net feature to test for this situation, or if there is a Windows API call that I can use to accomplish the same thing?
Any help would be appreciated.
Thanks!
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook