?
Solved

Form change in CForm

Posted on 2003-12-03
5
Medium Priority
?
237 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
[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
  • 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 44

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

771 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