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
Solved

window size

Posted on 2000-02-24
4
157 Views
Last Modified: 2013-11-20
when i create an mdi child window, with create, i wish windows to automatically tile my windows so i use a rect at (0,0,0,0) which does that. however, now i wanted to have larger windows, an windows still take care of the correct positioning. i overloaded precreate window, and gave it an origin of cm_windowdefault, which efectively took care of the positioning. but now the tioling does not work properly, because windows still tiles as if windows were smaller than they are...
0
Comment
Question by:Blastarr
  • 2
4 Comments
 

Author Comment

by:Blastarr
ID: 2555529
Adjusted points to 80
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2556224
I don't understand the symptoms you are describing.  Can you provide some more detail please of what you are seeing and what you want to see.

A picture would be great .. but don't think you can empbed them here.

But, if you havea web site, you could put a picture there and send us a link so we can actaully see what is going on.
0
 

Author Comment

by:Blastarr
ID: 2557180
its like this. by default, when windows is tiling windows, it figures out when the enxt window is going to step out of the screen, and restarts placing windows at the origin, going down from there. if i change the width and height given to precreate, it resets the windows' positions as if they still had the default size
0
 

Accepted Solution

by:
simmvar earned 80 total points
ID: 2599602
Hi Blastarr

I think the tiling problem occurs because windows get the notification while create the window.

Please use CWnd::CreateEx(...) which accepts the parameters of the window coordinates and the size of the window

With regards
simmvar
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
Pressing cancel button with C# UI Automation 3 81
VBA "SendKeys" Syntax for Multiple Keystrokes 7 117
Problem to event 3 102
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

839 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