CRect::EqualRect

BOOL EqualRect( LPCRECT lpRect ) const;

Return Value

Nonzero if the two rectangles have the same top, left, bottom, and right values; otherwise 0.

Note   Both of the rectangles must be normalized or this function may fail. You can call NormalizeRect to normalize the rectangles before calling this function.

Parameters

lpRect

Points to a RECT structure or CRect object that contains the upper-left and lower-right corner coordinates of a rectangle.

CRect OverviewClass MembersHierarchy Chart

See Also   CRect::operator ==, CRect::operator !=, CRect::NormalizeRect, ::EqualRect