Solved

How to save the containts of Child Window

Posted on 2003-11-17
6
153 Views
Last Modified: 2013-11-20
Dear Friends
      I am working on MDI application. I have 10 child frame and all are having different text messages. I want to save the containts of Active child frame in the .txt file that will have the name of Active child winow's Name . How Can I do this.

Please help me

Thanks & Regards
Sanjay
0
Comment
Question by:sanjaysingh1975
  • 2
6 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 65 total points
ID: 9762520
I assume a doc-view structure.

From what you want I would use the serialize function supplied in the doc but rather than call the normal archiving open/create a text file with the name of the view associated with the doc and use the CStdioFile and it's member functions.
Using the serialize function allows you to determine if it is loading or saving.
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9762716
Map the ID_FILE_SAVE to your CEditDerivedView.

Rosh :)
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 11849699
My comment would be a way to achieve the desired effect
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question