?
Solved

The size of an MDI child window

Posted on 1998-06-12
2
Medium Priority
?
178 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
[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
 
LVL 11

Expert Comment

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

Accepted Solution

by:
NullTerminator earned 40 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 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.
Suggested Courses

752 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