comctl32/tests: [PATCH 2/2] Make the test dpi and Theme aware: use SM_CYSIZE
wine.dev at web.de
Sun Feb 1 06:20:33 CST 2009
The status test failed on my installations with 120 dpi.
After a lot of "try and error" from 72 to 144 dpi with
different formula for the min height, different results on my machine
and a failing XP machine at 96dpi, I found the reason:
The minimal height depends on the appearance setting
"[In]Active Title Bar", which is SM_CYSIZE.
The test now pass on win98se, win2k and Wine with a different height
for the title bar (tested from 18 to 30).
To reduce the test log size, I moved the dump of the current tested font
from a trace to the ok.
Why is MS so stupid and use BYTE in ENUMLOGFONTEXA and WCHAR in
for the strings in wingdi.h, while MSDN document them as TCHAR?
By by ... Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090201/968291ce/attachment-0001.bin
More information about the wine-patches