CRect::CRect

This constructor constructs a CRect object. If no parameters are specified , left, top, right, and bottom members are not initialized.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

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 );

See Also

CRect::SetRect, CRect::CopyRect, CRect::operator =, CRect::SetRectEmpty