Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dialog based app, multiple 'forms'

Posted on 1998-06-04
1
Medium Priority
?
166 Views
Last Modified: 2013-11-19
I've done a complex dialog app in VB before and used forms to change the views.  I could just display the current form, which would own all controls in it, and VB would handle the displaying of the entire form.  I'm trying to do the same in MFC and can't seem to figure out a way to do it.  It seems that no frame or group area owns any controls.  Do I have to show and update each control separately?  Is there a tab or frame control I can use?
0
Comment
Question by:bradyd
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
ID: 1315998
One way to do this is to create a window/dialog to own the controls you need and hide and show the window or dialog as needed.

Another possibility would be to create a tabbed dialog (also known as property sheet).

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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…
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.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

876 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