CRect();
CRect( int l, int t, int r, int b );
CRect( const RECT& srcRect );
CRect( LPRECT lpSrcRect );
CRect( POINT point, SIZE size );
l
Specifies the left position of the CRect.
t
Specifies the top of the CRect.
r
Specifies the right position of the CRect.
b
Specifies the bottom of the CRect.
srcRect
Refers to the RECT structure with the dimensions for the CRect object.
lpSrcRect
Points to the RECT structure with the dimensions for the CRect object.
point
Specifies the origin point for the rectangle to be constructed. Corresponds to the top-left corner.
size
Specifies the displacement from the top-left corner to the bottom-right corner of the rectangle to be constructed.
Constructs a CRect object.
The CRect( const RECT& ) and CRect( LPRECT ) member functions perform a CopyRect. The other constructors initialize the member variables of the object directly.
CRect::SetRect, CRect::CopyRect, CRect::operator =