CRect::operator ==

BOOL operator ==( const RECT& rect ) const;

Return Value

Nonzero if equal; otherwise 0.

Parameters

rect

Refers to a source rectangle. Can be a RECT or CRect.

Remarks

Determines whether rect is equal to CRect by comparing the coordinates of their upper-left and lower-right corners.

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.

CRect OverviewClass MembersHierarchy Chart

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