Solved

The size of an MDI child window

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

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

Title # Comments Views Activity
SetCurrentDirectory path limit 7 121
Dynamically allocate memory 9 58
Unable to start eclipse ? 17 141
Create a path if not exists 7 77
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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.
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.

776 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