CRgn

The CRgn class encapsulates a Windows graphics device interface (GDI) region. A region is an elliptical or polygonal area within a window.

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

MFC for Windows CE supports the following member functions of the CRgn class differently than the standard MFC library does.

CRgn::CreateRectRgnIndirect

CRgn::GetRegionData

CRgn::SetRectRgn

Windows CE doesn't support the following member functions of the CRgn class.

CreateEllipticRgn

CreateEllipticRgnIndirect

CreatePolygonRgn

CreatePolyPolygonRgn

CreateRoundRectRgn

CreateFromPath

CreateFromData

Note Windows CE version 1.0 represents regions using 16-bit values.

See Also

CRgn Member Functions, CRgn Operators, Graphical Drawing Object Classes