At 05:48 PM 10/21/00 +0200, you wrote:
>Hi,
>
>while trying to install a program I noticed that in managed mode the
>dialogboxes are drawn too large. This leads to a clearly visible problem,
>which is not in my field of experience ;)
>
>I have attached a screenshot from both unmanaged and managed mode and the
>resp. CreateDialogBoxParamA traces.
>
>Please someone have a look at them :)

I have seen  similar problems with standard windows. I think this is a general problem.
When apps are sizing their windows using calculations based on the total window size,
results are usually wrong in managed mode.
On your screenshots the extra size in both horizontal and vertical directions is 
matching
the size of the window manager decorations (one can also say that the app is not 
widening its
display to match the total size of the window including decorations)
I searched in your traces for GetWindowRect calls and found them immediately followed
by calls to MoveWindow (exactly what I expected).

Alexandre Julliard talked on wine-devel about this class of problems I think; I could 
not
for the life of  me unearth the reference, but as far as I remember the gist of it was
that all Wine calculations and reports to the app should be based on the Wine window
excluding any 'real' size coming from the window manager, so these calculations can
be consistent (warning, this is a very hazy recollection).

As you are certainly aware, Alexandre Julliard has stated that he wants a complete
rewrite of managed mode for 1.0 - maybe you just volonteered  :-)

>(I have also noticed that there are two DIFERENT HAS_DLGFRAME defines, one in
>windows/nonclient.c, one in windows/winpos.c.)

Certainly ugly but is it related ? It's easy to check  :-)

Gerard



Reply via email to