Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Multiple Forms in   SDI application

Posted on 1998-11-13
2
Medium Priority
?
331 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 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

971 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