//MFC struct CRect { //... long IntersectRect(CRect const* rect1, CRect const* rect2); }
//мой код CRect rect1, rect2; rect1.IntersectRect(rect1, rect2); //или заводить временную переменную???