If You derive Your View from CEditView, You will have all features for work with text. To read from or save in a text file, You can use SerializeRaw( CArchive& ar ) member - function (it should be in Serialize() - function of Your CDocument - derived class).
To right work with File extensions, You can override OnFileOpen() - function of CDocManager (make Your own class, for example CMyDocManager, and replace old CDocManager with it).
my problem is that i want to get file on the web and to save it on my disk.
so i use a ChtmlView, and the save function isn't write.
i don't know where to get the string who represent the html file.
can you help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.