user32/tests: Fix VK_RMENU input tests on localized Windows.

Nicolas Le Cam niko.lecam at gmail.com
Sat May 2 05:40:52 CDT 2009


Hi,

Tested on Win2k and WinXP.

It seems localized Windows is the common denominator for the failing
platforms (own french Win2k/XP, but also Czech XP at [1] and, if I'm not
wrong, Dutch XP at [2]).

For VK_RMENU, localized Win2k/XP send KEYDOWN/UP instead of
SYSKEYDOWN/UP to the WNDPROC.
They also send an additional WM_KEYDOWN msg when key is pressed and
don't send WM_SYSCOMMAND when key is released.

Also moved the todo_wine check after every others to avoid problems on
Windows.

--
Nicolas Le Cam

[1]
http://test.winehq.org/data/3d7eb3d4141ef58089d7f0a2bd2a26defebb90f8/xp_xp-home-sp2-czechIE8/user32:input.html
[2]
http://test.winehq.org/data/3d7eb3d4141ef58089d7f0a2bd2a26defebb90f8/xp_gvg-wxphmnlsp3/user32:input.html


More information about the wine-patches mailing list