Solved

How to save the containts of Child Window

Posted on 2003-11-17
6
151 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 88
Process filename extension 3 156
wait notify demo infinite loop 3 81
noX challenge 17 77
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now