Call this member function to retrieve the size of a CRect object. The cx and cy members of the return value contain the height and width of the CRect object. Either the height or width can be negative.
CSize Size( ) 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::Height, CRect::Width, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect