Solved

Dialog Style Child Windows

Posted on 1998-12-03
4
237 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 100 total points
ID: 1179179
Hey thanks.  If you have further questions, I'll try to help out.  Thanks again! :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now