Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to save the containts of Child Window

Posted on 2003-11-17
6
Medium Priority
?
160 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 45

Accepted Solution

by:
AndyAinscow earned 260 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 45

Expert Comment

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

886 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