CRect Operators

Operators
operator LPCRECT Converts a CRect to an LPCRECT.
operator LPRECT Converts a CRect to an LPRECT.
operator = Copies the dimensions of a rectangle to CRect.
operator == Determines whether CRect is equal to a rectangle.
operator != Determines whether CRect is not equal to a rectangle.
operator += Adds the specified offsets to CRect or inflates CRect.
operator –= Subtracts the specified offsets from CRect or deflates CRect.
operator &= Sets CRect equal to the intersection of CRect and a rectangle.
operator |= Sets CRect equal to the union of CRect and a rectangle.
operator + Adds the given offsets to CRect or inflates CRect and returns the resulting CRect.
operator – Subtracts the given offsets from CRect or deflates CRect and returns the resulting CRect.
operator & Creates the intersection of CRect and a rectangle and returns the resulting CRect.
operator | Creates the union of CRect and a rectangle and returns the resulting CRect.

See Also

CRect Overview, CRect Member Functions, Simple Value Types