How to reflect the changes made in view to document
-
Hi I have a class Line which has 2 endpoints as members and Drawing() as method. I just declared a CTypedPtrList of pointers to Line in document .I accessed the list in view by GetDocument() and created the instance of Line and added to list.I want to modify the values of end points so that i can draw another line with same pointer.I am able to reflect the changes in OnDraw() but I want to serialize the data which i modified.i am able to serialize the data which i have given at the time of creating the instance of the class(pointer which i am storing in list) but not the modified values.I am getting the pointer from list and modifying the values after assigning to another pointer.to reflect the changes what i have to do? Thanks for ur help. bhikshapathi_g@semanticspace.com