I'm using the following code in my Serialize function to store
and retrieve pure text to/from a text file into an edit control.
How would I get the text of that control and read/write to the
CFile?
thx for any helpCode:void CMyProgDoc::Serialize(CArchive& ar) { const CFile* fp = ar.GetFile(); if (ar.IsStoring()) { // What do i do here to write the control into // the file? } else { // What do i do here to write the file into // the control? } }




Reply With Quote