Solved

How to save the containts of Child Window

Posted on 2003-11-17
6
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

617 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