another topmost form????
-
Hi, Is there a way to tell if a form is on top of all the other windows application. In another word, I want to know if the form covered by somthing or fully visible to user. Thanks in advance for any suggestion! Alan
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
-
Hi, Is there a way to tell if a form is on top of all the other windows application. In another word, I want to know if the form covered by somthing or fully visible to user. Thanks in advance for any suggestion! Alan
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
One way to do this might be to get the form's
Graphics.ClipRegion
and compare it with the region for the entire form its bounds with that of the form. If they aren't equal, the form is partially occluded. /ravi -- modified at 16:35 Tuesday 12th December, 2006Just say "No" to Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com
-
One way to do this might be to get the form's
Graphics.ClipRegion
and compare it with the region for the entire form its bounds with that of the form. If they aren't equal, the form is partially occluded. /ravi -- modified at 16:35 Tuesday 12th December, 2006Just say "No" to Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com
This post helps, thanks