Share via


CSize

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

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 methods to manipulate the SIZE structure.

Requirements

**  Windows CE versions:** 1.0 and later  
  Header file: Declared in Afxwin.h
  Platform: H/PC Pro, Palm-size PC, Pocket PC

See Also

CRect, CPoint, Simple Value Types