CRect::CRect

Use this constructor to construct a CRect object. If no arguments are given, left, top, right, and bottom members are not initialized.

Syntax

CRect( );

CRect( int l, int t, int r, int b );

CRect( const RECT& srcRect );

CRect( LPCRECT lpSrcRect );

CRect( POINT point, SIZE size );

CRect( POINT topLeft, POINT bottomRight );

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::SetRect, CRect::CopyRect, CRect::operator =, CRect::SetRectEmpty