CRgn::CopyRgn

int CopyRgn( CRgn* pRgnSrc );

Return Value

Specifies the type of the resulting region. It can be one of the following values:

Parameters

pRgnSrc

Identifies an existing region.

Remarks

Copies the region defined by pRgnSrc into the CRgn object. The new region replaces the region formerly stored in the CRgn object. This function is a special case of the CombineRgn member function.

Example

See the example for CRgn::CreateEllipticRgn.

CRgn OverviewClass MembersHierarchy Chart

See Also   CRgn::CombineRgn, ::CombineRgn