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

x
?
Solved

Dialog Style Child Windows

Posted on 1998-12-03
4
Medium Priority
?
250 Views
Last Modified: 2010-04-02
I am desiring to create an MDI where the child windows have characteristics of Dialog windows (ie. control buttons, sliders, etc.). Is this possible without using Dialog windows?? I do not want to use dialogs because I want them to confined within the area of my application window. Anywhere that I can get some information on how to do this would be greatly appreciated.
Thanx.
0
Comment
Question by:questioner
  • 2
4 Comments
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1179176
Providing you are using MFC:

The CFormView class is the base class used for views containing controls. These controls are laid out based on a dialog-template resource. Use CFormView if you want form-based documents in your application. These views support scrolling, as needed, using the CScrollView.

Samples - MFC Sample SNAPVW | MFC Sample VIEWEX

If not, then I am not sure :-)
0
 
LVL 4

Expert Comment

by:pagladasu
ID: 1179177
thresher_shark is right. Use the CFormView to create dialog based views in SDI or MDI applications.
thresh, you should have posted it as an answer.
pagladasu
0
 

Author Comment

by:questioner
ID: 1179178
found the info...thanks thresher_shark.

pagladasu is right, the points are yours if you want them just post as an answer...

thanks again

0
 
LVL 6

Accepted Solution

by:
thresher_shark earned 400 total points
ID: 1179179
Hey thanks.  If you have further questions, I'll try to help out.  Thanks again! :-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

885 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