CRect::Size

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.

Syntax

CSize Size( ) const;

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CRect Overview, CRect Member Functions, Simple Value Types, CRect::Height, CRect::Width, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect