CRgn::CreateRectRgn

Call this member function to create a rectangular region that is stored in the CRgn object.

Syntax

BOOL CreateRectRgn( 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

CRgn Overview, CRgn Member Functions, Graphical Drawing Object Classes, CRgn::CreateRectRgnIndirect