|
-
April 13th, 1999, 03:34 PM
#1
serialize a CRgn
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|