?
Solved

Form change in CForm

Posted on 2003-12-03
5
Medium Priority
?
245 Views
Last Modified: 2010-04-01
I have a Visual Studio.NET MFC C++ Projekt
I used CForm as Base class
my questio is... how can i change the form used as child?
0
Comment
Question by:dkloeck
  • 3
5 Comments
 
LVL 10

Author Comment

by:dkloeck
ID: 9874143
hummm...ok..i try again...

i have a projekt with a CForm Base class, & what i want is change the default dialog of CForm, & change it against my own by pressing a key.
it must be easy.. though
0
 
LVL 45

Accepted Solution

by:
AndyAinscow earned 90 total points
ID: 9897353
Have two CForm based views.  One based on one dialog, one based on the other and show/hide dynamically.

See the Chkbook example - it may give you some hints.
0
 
LVL 10

Author Comment

by:dkloeck
ID: 9897564
isn't there just a form to change the child Dialog of the windows/Forms?
0
 
LVL 10

Author Comment

by:dkloeck
ID: 9897652
its just..that i have to change between 6 dialogs
0
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 60 total points
ID: 9898436
Use stacked dialogs (http://www.codeproject.com/dialog/stackdialog.asp?target=stacked%7Cdialog) embedded in your top level dialog.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

807 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