This method obtains a reference to a CPoint object that represents the coordinates of the top left corner of a CRect object.
You can use this method to either get or set the top left corner of the rectangle. Set the corner by using this method on the left side of the assignment operator.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CPoint& TopLeft( ); const CPoint& TopLeft( ) const;