bool CMyRect::bSelect(CPoint point)         //第一个
{
if(point.x>m_rect.left && point.x<m_rect.right && point.y>m_rect.top && point.y<m_rect.bottom)
return true;
else
return false;
}
//CRect m_rect;
bool CMyRect::bSelect(CPoint point)              //第二个
{
if(point.x>m_rect.left && point.x<m_rect.right && point.y<m_rect.top && point.y>m_rect.bottom)
return true;
else
return false;
}
请问哪个是正确的