Solved

The size of an MDI child window

Posted on 1998-06-12
2
175 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 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.

808 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