Solved

Multiple Forms in   SDI application

Posted on 1998-11-13
2
314 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
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

21 Experts available now in Live!

Get 1:1 Help Now