Solved

The size of an MDI child window

Posted on 1998-06-12
2
173 Views
Last Modified: 2010-04-01
I'm using MS VC++ 1.52 and I have created a multiple dialog interface application using the AppWizard. I've stopped the application opening the empty child window when it starts but I can't figure out how to change the size of a new child window whenever a file is opened. I take it there is some very easy way to do this that I've overlooked.
0
Comment
Question by:good_grief
2 Comments
 
LVL 11

Expert Comment

by:alexo
ID: 1165725
Better ask in the "MFC" area.
0
 
LVL 3

Accepted Solution

by:
NullTerminator earned 20 total points
ID: 1165726
you could do it in the View.
Set a message handler for OnInitialUpdate for your view class
Call SetWindowPos()  or MoveWindow()
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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.

867 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

16 Experts available now in Live!

Get 1:1 Help Now