CRect::SetRect

Call this member function to set the dimensions of a CRect object to the specified coordinates.

Syntax

void SetRect( int x1, int y1, int x2, int y2 );

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