Solved

Form change in CForm

Posted on 2003-12-03
5
232 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 30 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 20 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

Technology Partners: 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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

726 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