Solved

CDialog inside a CMDIChildWnd

Posted on 1998-05-13
2
626 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

786 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