CPoint& TopLeft( );
const CPoint& TopLeft( ) const;
Return Value
The coordinates of the top-left corner of the rectangle.
Remarks
The coordinates are returned as a reference to a CPoint object that is contained in CRect.
You can use this function to either get or set the top-left corner of the rectangle. Set the corner by using this function on the left side of the assignment operator.
CRect Overview | Class Members | Hierarchy Chart
See Also CRect::BottomRight, CPoint, CRect::CenterPoint