Sorry guys, but here is another dumb question. Using ver 6.0 I
generated an sdi application using the defaults. However, instead of
using the CView class I used the CRichEditView class instead. Now this
works great when I goto save a document, but it doesn't load the
document. Here is the code that has to do with serialization
(generated by the wizard)
void CAlertSORTDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
// Calling the base class CRichEditDoc enables serialization
// of the container document's COleClientItem objects.
// TODO: set CRichEditDoc::m_bRTF = FALSE if you are
serializing as text
CRichEditDoc::Serialize(ar);
Quote:
}
Does anyone know what I have to change so I can load documents as well
as save them?
I appreciate any help in advance
Thanks
Zon