I've been playing around with rectangles and am trying to do a project that involves filling a big rectangle with smaller ones, but my collision logic isn't quite right. Can anybody help me?
Steve A Gomes
Have a look at the IntersectRect API. It's pretty fast and quite useful when you need to check whether two rectangles intersect one another in any way...
Fog Creek Home