Call this member function to obtain a reference to a CPoint object that represents the coordinates of the top left corner of a CRect object.
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.
CPoint& TopLeft( );
const CPoint& TopLeft( ) const;
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CRect Overview, CRect Member Functions, Simple Value Types, CRect::BottomRight, CPoint