void operator =( const RECT& srcRect );
Parameters
srcRect
Refers to a source rectangle. Can be a RECT or CRect.
Remarks
Assigns srcRect to CRect.
Example
CRect rect(0, 0, 127, 168);
CRect rect2;
rect2 = rect;
ASSERT(rect2 == CRect(0, 0, 127, 168));
CRect Overview | Class Members | Hierarchy Chart
See Also CRect::CRect, CRect::SetRect, CRect::CopyRect, CRect::SetRectEmpty, ::CopyRect