Problem with MDI application 
Author Message
 Problem with MDI application


I have just started learning about Visual C++ and MFC in general.  I'm
trying to put together a small MDI-based application.  I generated the
skeleton of the application through AppWizard, and got it running, no
problem there.

Where I am curious to find out, and I can't seem to find any
information on this, is how to maintain the state of the child window
(frame) within the parent window.  When I click on the close button
(the "X" button), the child window closes.  But I have no idea to
bring that child window back. The reason for bringing back exactly the
same child window is because I need to present certain information
within that child window, e.g. some graphs.

Does anyone know how something like this can be achieved? Or could it
be that every time when I select the command to display the graphs, I
open a new child window but give it the exact title bar, so as to give
the users the illusion that they are opening the same window? How
expensive is this in term of system resources, e.g. memory, heap space
etc, in order to instantiate a new child object, i.e. CMDIChildWnd?

Thanks for any help, URL, online resources that you can point me to.

Steven Jones

Sat, 10 Sep 2005 10:16:41 GMT  
 [ 1 post ] 

 Relevant Pages 

1. NEW IN MFC - some general problems with MDI-application

2. How develop MDI application with child forms like VB MDI and Child forms

3. Problem when I try to add a view in an MDI application of Visual C++

4. Problem with File Open Behavior in MDI Application

5. MDI Application Termination Problem

6. Problems with loading a file to MDI application!

7. how to migrate the code from a simple MDI application to OLE Server

8. How create a MDI-Application?

9. Start MDI application with no empty document

10. design mdi application

11. Question on MDI application

12. Creating composite control window in MDI application


Powered by phpBB® Forum Software