Solved

Multiple Forms in   SDI application

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

734 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