Solved

CDialog inside a CMDIChildWnd

Posted on 1998-05-13
2
625 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
ID: 1176901
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
ID: 1176902
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

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

863 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

22 Experts available now in Live!

Get 1:1 Help Now