Does anyone know how to serialize a CRgn data member. I have a member variable of type CRgn. In the serialize function of my doc class the following will assert an error.

ASSERT( mTheCRgn.IsSerializable() );

in my app the region is created in two stages
CRgn mTheCRgn;
mTheCRgn.CreateRectRgn(50,50,200,100);

The user modifies the shape of the region using the mouse. But it won't serialize. CRgn is derived from CObject so it should work.

Thankyou for your help

Don