First of all check the region bounds and then, if they overlap, intersect
the two regions and see if the result is empty or not.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Brian Basquille" <re**********@please.com> wrote in message
news:eB****************@TK2MSFTNGP10.phx.gbl...
Another question for ye all..
How do i check if a Region has entered another region?
Up until now, i've been checking if rectangles (or images converted into
Rectangles) have been visible in a Region (Region.IsVisible) but all
parameters in IsVisible seem to be for Rectangles / points.
To check if a Region is in another Region, i'd probably have to use the
Region.Intersect.. am i on the right track?
Many thanks in advance.
Brian