Solved

CDialog inside a CMDIChildWnd

Posted on 1998-05-13
2
624 Views
Last Modified: 2012-05-05
I have created a Dialog as a child of a CMDIChildWnd derived class.
Everything seems to work fine, but the look isn't good at all.
You can't notice that the border of the CMDIChildWnd don't match the border of the CDialog.
It seems like the CDialog is not as high as the CMDIChildWnd border and it doesn't look fine.
Everything works great except the look. It like the CMDIChildWnd border and the CDialog be the
same height, and give a look as if both were the same objetc
0
Comment
Question by:apich
2 Comments
 

Expert Comment

by:jann
Comment Utility
I'm not quite sure about what you want.  If you want the CDialog and CMDIChildWnd have the same border, set the CDialog property at "no border", so CDialog will use CMDIChildWnd's border.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 100 total points
Comment Utility
Use a CFormView view instead.  This gives you view (like in the client area of other children) but one based on a dialog templated.

0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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. …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 how to clear a vector as well as how to detect empty vectors in C++.

772 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

10 Experts available now in Live!

Get 1:1 Help Now