Solved

window size

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
deburging in oracle form 12 76
Tab names are off by one 5 49
Looking for a specific application/software 2 92
fizzArray  challenge 1 49
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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 discusses moving either the default database or any database to a new volume.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now