Solved

Multiple Forms in   SDI application

Posted on 1998-11-13
2
325 Views
Last Modified: 2013-11-20
Hi friends,

I have few more questions. I am planning to develop a database application using MFC. I need to create number
of Dialogs based on the CFormView class.

Is it possible to create more than one Form in an SDI
application on the fly?

If yes, how to instantiate a second Dialog (derived from CFormView)?
How to display and hide these Forms?

I will spell the question once again.

* I have an SDI application with its view derived from
  CFormView.
* I need to create additional Dialogs based on CFormView.
* If a button  on 'Form' is clicked another 'Form'
  should pop up.

I would also like to know if more number of Dialogs eats up
system resources, consequently affecting the performance?

Note: "Create multiple views for the SingleDocument..."
      is not an answer for my question.

An earliest reply will be of great help.

Many thanks.
Leena.
 
0
Comment
Question by:leena_mary
[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 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1324639
There is a good example of this in the C++ Q&A column in the DEC98 issue of Microsoft Systems Journal.  You can get the code from www.microsoft.com/msj.
0
 

Author Comment

by:leena_mary
ID: 1324640
Thanks Jhance
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

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