Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

window size

Posted on 2000-02-24
4
Medium Priority
?
163 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
[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
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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