?
Solved

CDialog inside a CMDIChildWnd

Posted on 1998-05-13
2
Medium Priority
?
630 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

800 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