On Fri, 22 Sep 2000, Ulrich Weigand wrote:

> 
> >    Running the system metrics sample in the Petzold in both Wine and
> > Windows 98 showed a lot of differences. So I started hacking
> > windows/sysmetrics.c and the result of this is the attached patch. With
> > this patch all the differences listed below disapeared.
> 
> Well, you can't really talk about the 'Win98 values' as such,
> since many (most) of these sysmetrics values can be modified 
> by the user in Win9x (through the Control Panel / Desktop),
> and are stored in the registry ...

   It looks like this is already what we do: We call
PROFILE_GetWineIniIntThis in a few places and most of the other values
are derived from them.

> Even if you don't modify them yourself, the default values are
> not always the same but depend on things like whether you chose
> 'small fonts' or 'large fonts' IIRC.

   I'll try to test that.

   Hum, it looks like the best thing to do would be to write a simple
program that dumps all the system metric to a file so that I can then
compare the values between systems. Actually such a test could even be
part of a regression test suite...


--
Francois Gouget         [EMAIL PROTECTED]        http://fgouget.free.fr/
                     f u kn rd ts, ur wy 2 gky 4 ur wn gd.

Reply via email to