This documentation is archived and is not being maintained.

CSize Class

class CSize : public tagSIZE

Remarks

The CSize class is similar to the Windows SIZE structure, which implements a relative coordinate or position.

Note   This class is derived from the SIZE structure. This means you can pass a CSize in a parameter that calls for a SIZE and that the data members of the SIZE structure are accessible data members of CSize.

The cx and cy members of SIZE (and CSize) are public. In addition, CSize implements member functions to manipulate the SIZE structure.

Note   For more information on shared utility classes (like CSize), see Shared Classes.

Requirements

Header: atltypes.h

See Also

MFC Sample MDI

Class Members | Hierarchy Chart | CRect | CPoint

Show: