CRect::TopLeft
The coordinates are returned as a reference to a CPoint object that is contained in CRect.
CPoint& TopLeft( ) throw( );
const CPoint& TopLeft( ) const throw( );
Возвращаемое значение
The coordinates of the top-left corner of the rectangle.
Заметки
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.
Пример
See the example for CRect::CenterPoint.
Требования
Header: atltypes.h