Solved

window size

Posted on 2000-02-24
4
156 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 130
Expand to include initial dialog with two choices. 9 77
Smart Camera scanning and reading information 3 106
sumHeights  challenge 17 70
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

785 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