Solved

Multiple Forms in   SDI application

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 90
ORA-01403: no data found 43 101
windows 10 how make picture as desktop background 2 62
unix example issues 18 90
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

777 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