Re: user32: add a test for window width and height fixup when width or height exceed a short storage or are negative.
21 Nov
2006
21 Nov
'06
10:28 p.m.
"Pierre d'Herbemont" <pdherbemont(a)free.fr> wrote:
This is a test for the CreateWindow call to see what is done with width or height that exceed the size of a short storage, or are negative. Hence we could decide if the fixup should be moved in user32 from winex11.drv.
This test is passing under Wine, but I didn't test with real Windows, so I guess I better monitor: http://test.winehq.org/data
Under XP SP2 with your test case I get: win.c:3725: Test failed: expected rect.right 65535 != 65539 win.c:3726: Test failed: expected rect.bottom 65535 != 65539 I'm attaching a more comprehensive test which passes for me under XP SP2. -- Dmitry.
6961
Age (days ago)
6961
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov